From a6bfda7d956f88f5e38c0848b9dfd8ea0108f26b Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Fri, 6 Aug 2021 07:38:52 -0400 Subject: path antiquotations: rename confusing test --- tests/lang/eval-fail-antiquoted-path.nix | 4 ---- tests/lang/eval-fail-nonexist-path.nix | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 tests/lang/eval-fail-antiquoted-path.nix create mode 100644 tests/lang/eval-fail-nonexist-path.nix (limited to 'tests') diff --git a/tests/lang/eval-fail-antiquoted-path.nix b/tests/lang/eval-fail-antiquoted-path.nix deleted file mode 100644 index f2f08107b..000000000 --- a/tests/lang/eval-fail-antiquoted-path.nix +++ /dev/null @@ -1,4 +0,0 @@ -# This must fail to evaluate, since ./fnord doesn't exist. If it did -# exist, it would produce "/nix/store/-fnord/xyzzy" (with an -# appropriate context). -"${./fnord}/xyzzy" diff --git a/tests/lang/eval-fail-nonexist-path.nix b/tests/lang/eval-fail-nonexist-path.nix new file mode 100644 index 000000000..f2f08107b --- /dev/null +++ b/tests/lang/eval-fail-nonexist-path.nix @@ -0,0 +1,4 @@ +# This must fail to evaluate, since ./fnord doesn't exist. If it did +# exist, it would produce "/nix/store/-fnord/xyzzy" (with an +# appropriate context). +"${./fnord}/xyzzy" -- cgit v1.2.3