about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/eval-okay-string.nix
blob: 47cc989ad46a62036cca8f2db150865744f772ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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"
  + "$\"$\""
  + "$"