mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 01:39:36 +01:00
Convert {Extended,}OutputsSpec JSON tests to characterization tests
This brings them in line with the other tests, and furthers my goals of separating unit test data from code. Doing this cleanup as part of my #13570 effort, but strictly-speaking, this is separate as these data types' JSON never contained and store paths or store dirs, just simple output name strings.
This commit is contained in:
parent
03440946cd
commit
f24e00710e
8 changed files with 103 additions and 44 deletions
3
src/libstore-tests/data/outputs-spec/all.json
Normal file
3
src/libstore-tests/data/outputs-spec/all.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
"*"
|
||||
]
|
||||
3
src/libstore-tests/data/outputs-spec/extended/all.json
Normal file
3
src/libstore-tests/data/outputs-spec/extended/all.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
"*"
|
||||
]
|
||||
1
src/libstore-tests/data/outputs-spec/extended/def.json
Normal file
1
src/libstore-tests/data/outputs-spec/extended/def.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
null
|
||||
3
src/libstore-tests/data/outputs-spec/extended/name.json
Normal file
3
src/libstore-tests/data/outputs-spec/extended/name.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
"a"
|
||||
]
|
||||
4
src/libstore-tests/data/outputs-spec/extended/names.json
Normal file
4
src/libstore-tests/data/outputs-spec/extended/names.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
"a",
|
||||
"b"
|
||||
]
|
||||
3
src/libstore-tests/data/outputs-spec/name.json
Normal file
3
src/libstore-tests/data/outputs-spec/name.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[
|
||||
"a"
|
||||
]
|
||||
4
src/libstore-tests/data/outputs-spec/names.json
Normal file
4
src/libstore-tests/data/outputs-spec/names.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
"a",
|
||||
"b"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue