aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-okay-string.nix
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-okay-string.nix')
-rw-r--r--test/testdata/eval-okay-string.nix12
1 files changed, 12 insertions, 0 deletions
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 @@
1"foo" + "bar"
2 + toString (/a/b + /c/d)
3 + toString (/foo/bar + "/../xyzzy/." + "/foo.txt")
4 + ("/../foo" + toString /x/y)
5 + "escape: \"quote\" \n \\"
6 + "end
7of
8line"
9 + "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
10 + "foo$bar"
11 + "$\"$\""
12 + "$"