tvl-depot/tests/lang/eval-okay-string.nix
2006-10-17 11:08:59 +00:00

10 lines
247 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"