tests/functional/lang: Change base path to the lang directory
Currently, all tests are relative to `./tests/functional` instead of `./tests/functional/lang`. Whether this is a historical artefact or as intended, the current move is to align the tests with the new design of functional2, preparing them for an easier migration. Change-Id: Ie394691b071488a8000a005080b9167786d5bd9a
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
error:
|
||||
… while calling the 'toJSON' builtin
|
||||
at /pwd/lang/eval-fail-toJSON-nested.nix:1:1:
|
||||
at /pwd/eval-fail-toJSON-nested.nix:1:1:
|
||||
1| builtins.toJSON { foo = a: 1; }
|
||||
| ^
|
||||
2|
|
||||
|
||||
… while evaluating attribute 'foo'
|
||||
at /pwd/lang/eval-fail-toJSON-nested.nix:1:19:
|
||||
at /pwd/eval-fail-toJSON-nested.nix:1:19:
|
||||
1| builtins.toJSON { foo = a: 1; }
|
||||
| ^
|
||||
2|
|
||||
|
||||
error: cannot convert a function to JSON
|
||||
at /pwd/lang/eval-fail-toJSON-nested.nix:1:19:
|
||||
at /pwd/eval-fail-toJSON-nested.nix:1:19:
|
||||
1| builtins.toJSON { foo = a: 1; }
|
||||
| ^
|
||||
2|
|
||||
|
||||
Reference in New Issue
Block a user