From 570fb013e2c1424a34ffe0b10f80bb4000d35711 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Sun, 7 Mar 2010 22:29:46 -0500 Subject: [PATCH] test tweaks --- test/test_string_interpolation.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_string_interpolation.coffee b/test/test_string_interpolation.coffee index 5ae223a0..031ad543 100644 --- a/test/test_string_interpolation.coffee +++ b/test/test_string_interpolation.coffee @@ -50,13 +50,13 @@ obj: { } ok obj.hi() is "Hello Joe." -ok "I can has ${"cheeze"}" is 'I can has cheeze' -ok 'I can has ${"cheeze"}' is 'I can has ${"cheeze"}' +ok "With ${"quotes"}" is 'With quotes' +ok 'With ${"quotes"}' is 'With ${"quotes"}' 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 "Where is ${"the nested ${obj["name"]}"}?" is 'Where is the nested Joe?' ok "Hello ${world ? "$hello"}" is 'Hello World' ok "Hello ${"${"${obj["name"]}" + '!'}"}" is 'Hello Joe!'