From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-okay-string.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/testdata/eval-okay-string.nix (limited to 'test/testdata/eval-okay-string.nix') diff --git a/test/testdata/eval-okay-string.nix b/test/testdata/eval-okay-string.nix new file mode 100644 index 0000000..47cc989 --- /dev/null +++ b/test/testdata/eval-okay-string.nix @@ -0,0 +1,12 @@ +"foo" + "bar" + + toString (/a/b + /c/d) + + toString (/foo/bar + "/../xyzzy/." + "/foo.txt") + + ("/../foo" + toString /x/y) + + "escape: \"quote\" \n \\" + + "end +of +line" + + "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat" + + "foo$bar" + + "$\"$\"" + + "$" -- cgit v1.2.3