allowing naked interpolation of dotted properties. .property

This commit is contained in:
Jeremy Ashkenas
2010-03-07 22:26:25 -05:00
parent 1cf0326183
commit 71ace9d8d0
5 changed files with 15 additions and 14 deletions

View File

@@ -54,6 +54,7 @@ ok "I can has ${"cheeze"}" is 'I can has cheeze'
ok 'I can has ${"cheeze"}' is 'I can has ${"cheeze"}'
ok "Where is ${obj["name"] + '?'}" is 'Where is Joe?'
ok "Where is $obj.name?" is 'Where is Joe?'
ok "Where is ${"the new ${obj["name"]}"}?" is 'Where is the new Joe?'
ok "Hello ${world ? "$hello"}" is 'Hello World'