about summary refs log tree commit diff
path: root/tests/lang/eval-okay-string.nix
blob: f2452e85745bd7cb5f71c33deb3a5d1cd8357e82 (plain) (blame)
1
2
3
4
5
6
7
8
9
"foo" + "bar"
  + toString (/a/b + /c/d)
  + (/foo/bar + "/../xyzzy/." + "/foo.txt")
  + ("/../foo" + /x/y)
  + "escape: \"quote\" \n \\"
  + "end
of
line"
  + "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"