aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-okay-string.nix
blob: 086ba4bf92a8d1370e0051d5e9a363f3621e3863 (plain)
1
2
3
4
5
6
7
8
9
10
"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"
  + "foo$bar"