From 47682de0f02d5d444fbce34e3af02500fe8b9aa8 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 5 Mar 2010 22:54:39 -0500 Subject: [PATCH] adding a test for intermingled identifier/expression interpolations --- test/test_string_interpolation.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_string_interpolation.coffee b/test/test_string_interpolation.coffee index dd3fecad..526ca24d 100644 --- a/test/test_string_interpolation.coffee +++ b/test/test_string_interpolation.coffee @@ -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'