diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-12-06 10:20:58 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-12-06 10:20:58 +0000 |
commit | b42ef9c0544009b372e3da0275553ce08cf0ea2a (patch) | |
tree | 28afd5929bde8db2fa5f82583193c6beb20d998f /tests/lang/eval-okay-ind-string.nix | |
parent | d4950f207f18e635cc13e3ee33103fd501456384 (diff) |
* Syntax to escape '', ${.
Diffstat (limited to 'tests/lang/eval-okay-ind-string.nix')
-rw-r--r-- | tests/lang/eval-okay-ind-string.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-ind-string.nix b/tests/lang/eval-okay-ind-string.nix index 7d5d61091..ca83a5121 100644 --- a/tests/lang/eval-okay-ind-string.nix +++ b/tests/lang/eval-okay-ind-string.nix @@ -104,4 +104,10 @@ let exec ${"slim"}/bin/slim ''; -in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14 = '' + Escaping of ' followed by ': ''' + Escaping of $ followed by {: ''${ + 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 |