adding back parentheses wrapper around interpolated expressions -- we need it

This commit is contained in:
Jeremy Ashkenas
2010-03-05 21:12:13 -05:00
parent 4c3b0b9a74
commit 08341286a3
3 changed files with 3 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ ok "[$hello$world]" is '[HelloWorld]'
ok "[${hello}${world}]" is '[HelloWorld]'
ok "$hello$$world" is 'Hello$World'
ok "${hello}$${world}" is 'Hello$World'
ok "Hello ${ 1 + 2 } World" is 'Hello 3 World'
[s, t, r, i, n, g]: ['s', 't', 'r', 'i', 'n', 'g']
ok "$s$t$r$i$n$g" is 'string'