diff options
author | Rebecca Turner <rbt@sent.as> | 2024-04-04 15:42:47 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-04-04 15:49:30 -0700 |
commit | 0fec7d2db6d7f05ab228f12a6b57b2cd4a64276b (patch) | |
tree | 3f31f4d0b8c56689981ffcd526b67a8be19fada0 | |
parent | 9166babbaf5882ad2cfe1c7c9b30de1c153d70a8 (diff) |
Rename some parse failure tests to `parse-fail-*`
These were mistakenly labeled `eval-fail-*`.
Note that the `lang.sh` runner passes `parse-fail-*` tests on stdin, so
filenames are removed from error messages.
Change-Id: I7f3a0d78b6cfa87af29aaa1b7af19d5a57fd4ade
-rw-r--r-- | tests/functional/lang/parse-fail-eol-1.err.exp (renamed from tests/functional/lang/eval-fail-eol-1.err.exp) | 2 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-eol-1.nix (renamed from tests/functional/lang/eval-fail-eol-1.nix) | 0 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-eol-2.err.exp (renamed from tests/functional/lang/eval-fail-eol-3.err.exp) | 2 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-eol-2.nix (renamed from tests/functional/lang/eval-fail-eol-2.nix) | 0 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-eol-3.err.exp (renamed from tests/functional/lang/eval-fail-eol-2.err.exp) | 2 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-eol-3.nix (renamed from tests/functional/lang/eval-fail-eol-3.nix) | 0 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-path-slash.err.exp (renamed from tests/functional/lang/eval-fail-path-slash.err.exp) | 2 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-path-slash.nix (renamed from tests/functional/lang/eval-fail-path-slash.nix) | 0 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-set.err.exp (renamed from tests/functional/lang/eval-fail-set.err.exp) | 2 | ||||
-rw-r--r-- | tests/functional/lang/parse-fail-set.nix (renamed from tests/functional/lang/eval-fail-set.nix) | 0 |
10 files changed, 5 insertions, 5 deletions
diff --git a/tests/functional/lang/eval-fail-eol-1.err.exp b/tests/functional/lang/parse-fail-eol-1.err.exp index 3f5a5c22c..f7f79b460 100644 --- a/tests/functional/lang/eval-fail-eol-1.err.exp +++ b/tests/functional/lang/parse-fail-eol-1.err.exp @@ -1,5 +1,5 @@ error: undefined variable 'invalid' - at /pwd/lang/eval-fail-eol-1.nix:2:1: + at «stdin»:2:1: 1| # foo 2| invalid | ^ diff --git a/tests/functional/lang/eval-fail-eol-1.nix b/tests/functional/lang/parse-fail-eol-1.nix index 476223919..476223919 100644 --- a/tests/functional/lang/eval-fail-eol-1.nix +++ b/tests/functional/lang/parse-fail-eol-1.nix diff --git a/tests/functional/lang/eval-fail-eol-3.err.exp b/tests/functional/lang/parse-fail-eol-2.err.exp index ada3c5ecd..f7f79b460 100644 --- a/tests/functional/lang/eval-fail-eol-3.err.exp +++ b/tests/functional/lang/parse-fail-eol-2.err.exp @@ -1,5 +1,5 @@ error: undefined variable 'invalid' - at /pwd/lang/eval-fail-eol-3.nix:2:1: + at «stdin»:2:1: 1| # foo 2| invalid | ^ diff --git a/tests/functional/lang/eval-fail-eol-2.nix b/tests/functional/lang/parse-fail-eol-2.nix index 0cf92a425..0cf92a425 100644 --- a/tests/functional/lang/eval-fail-eol-2.nix +++ b/tests/functional/lang/parse-fail-eol-2.nix diff --git a/tests/functional/lang/eval-fail-eol-2.err.exp b/tests/functional/lang/parse-fail-eol-3.err.exp index ff13e2d55..f7f79b460 100644 --- a/tests/functional/lang/eval-fail-eol-2.err.exp +++ b/tests/functional/lang/parse-fail-eol-3.err.exp @@ -1,5 +1,5 @@ error: undefined variable 'invalid' - at /pwd/lang/eval-fail-eol-2.nix:2:1: + at «stdin»:2:1: 1| # foo 2| invalid | ^ diff --git a/tests/functional/lang/eval-fail-eol-3.nix b/tests/functional/lang/parse-fail-eol-3.nix index 33422452d..33422452d 100644 --- a/tests/functional/lang/eval-fail-eol-3.nix +++ b/tests/functional/lang/parse-fail-eol-3.nix diff --git a/tests/functional/lang/eval-fail-path-slash.err.exp b/tests/functional/lang/parse-fail-path-slash.err.exp index e3531d352..0407543a1 100644 --- a/tests/functional/lang/eval-fail-path-slash.err.exp +++ b/tests/functional/lang/parse-fail-path-slash.err.exp @@ -1,5 +1,5 @@ error: path has a trailing slash - at /pwd/lang/eval-fail-path-slash.nix:6:12: + at «stdin»:6:12: 5| # and https://nixos.org/nix-dev/2016-June/020829.html 6| /nix/store/ | ^ diff --git a/tests/functional/lang/eval-fail-path-slash.nix b/tests/functional/lang/parse-fail-path-slash.nix index 8c2e104c7..8c2e104c7 100644 --- a/tests/functional/lang/eval-fail-path-slash.nix +++ b/tests/functional/lang/parse-fail-path-slash.nix diff --git a/tests/functional/lang/eval-fail-set.err.exp b/tests/functional/lang/parse-fail-set.err.exp index 6dd646e11..2f77406a7 100644 --- a/tests/functional/lang/eval-fail-set.err.exp +++ b/tests/functional/lang/parse-fail-set.err.exp @@ -1,5 +1,5 @@ error: undefined variable 'x' - at /pwd/lang/eval-fail-set.nix:1:3: + at «stdin»:1:3: 1| 8.x | ^ 2| diff --git a/tests/functional/lang/eval-fail-set.nix b/tests/functional/lang/parse-fail-set.nix index c6b7980b6..c6b7980b6 100644 --- a/tests/functional/lang/eval-fail-set.nix +++ b/tests/functional/lang/parse-fail-set.nix |