lix/tests/lang/eval-okay-string.nix
2015-07-03 14:09:58 +02:00

13 lines
268 B
Nix

"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"
+ "$\"$\""
+ "$"