diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-01T09·56+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-05-01T09·56+0000 |
commit | 6cecad2be0f7ced82658ec2a86bcf61583487959 (patch) | |
tree | e412fb161e0cfac4bffeae6bfd96cff674a0f947 /tests/lang | |
parent | cce31b739c6d3e381824ac6fde3f06ccb02782af (diff) |
* Allow string concatenations involving derivations, e.g.,
configureFlags = "--with-freetype2-library=" + freetype + "/lib";
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/eval-okay-string.exp | 2 | ||||
-rw-r--r-- | tests/lang/eval-okay-string.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lang/eval-okay-string.exp b/tests/lang/eval-okay-string.exp index 07741d1605ce..9c3f56c3f3b0 100644 --- a/tests/lang/eval-okay-string.exp +++ b/tests/lang/eval-okay-string.exp @@ -1 +1 @@ -Str("foobar/a/b/c/d") +Str("foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/y") diff --git a/tests/lang/eval-okay-string.nix b/tests/lang/eval-okay-string.nix index 19b60497a52d..b5280a0cd1fa 100644 --- a/tests/lang/eval-okay-string.nix +++ b/tests/lang/eval-okay-string.nix @@ -1 +1 @@ -"foo" + "bar" + toString (/a/b + /c/d) +"foo" + "bar" + toString (/a/b + /c/d) + (/foo/bar + "/../xyzzy/." + "/foo.txt") + ("/../foo" + /x/y) |