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