adding a test for intermingled identifier/expression interpolations

This commit is contained in:
Jeremy Ashkenas 2010-03-05 22:54:39 -05:00
parent b4ea43cbd0
commit 47682de0f0
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ 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'
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'