adding a test for intermingled identifier/expression interpolations
This commit is contained in:
parent
b4ea43cbd0
commit
47682de0f0
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue