about summary refs log blame commit diff
path: root/tests/lang/eval-okay-string.nix
blob: 839539e6c171e74ef3762d8aa59c195d60c16bc4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                          

                                                    




                                                          
             
"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"