aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-okay-ind-string.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-02-05 13:25:18 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-02-05 13:25:18 +0000
commite7bdde981f9460994baa805beb6906bb4aa4f947 (patch)
tree2315fa620213e44728d3705b1c97c959268fd727 /tests/lang/eval-okay-ind-string.nix
parent66c51dc21558c6ac5149c5158df7e5b580029e84 (diff)
* Regression test.
Diffstat (limited to 'tests/lang/eval-okay-ind-string.nix')
-rw-r--r--tests/lang/eval-okay-ind-string.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-ind-string.nix b/tests/lang/eval-okay-ind-string.nix
index ca83a5121..1556aae9f 100644
--- a/tests/lang/eval-okay-ind-string.nix
+++ b/tests/lang/eval-okay-ind-string.nix
@@ -110,4 +110,11 @@ let
And finally to interpret \n etc. as in a string: ''\n, ''\r, ''\t.
'';
-in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14
+ # Regression test: antiquotation in '${x}' should work, but didn't.
+ s15 = let x = "bla"; in ''
+ foo
+ '${x}'
+ bar
+ '';
+
+in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 + s15