about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix')
-rw-r--r--tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix b/tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix
new file mode 100644
index 000000000000..19775d2ec810
--- /dev/null
+++ b/tvix/eval/src/tests/nix_tests/parse-fail-eof-in-string.nix
@@ -0,0 +1,3 @@
+# https://github.com/NixOS/nix/issues/6562
+# Note that this file must not end with a newline.
+a 1"$
\ No newline at end of file