Browse files

added one more test for #1150

  • Loading branch information...
1 parent 5ce7984 commit 6f64fc266d9fcc5bb5129b732b632963b0058e95 @ngn ngn committed Jun 22, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/interpolation.coffee
View
1 test/interpolation.coffee
@@ -32,6 +32,7 @@ eq "#{6 + /2}#{6/ + 2}", '6/2}#{6/2' # parsed as a regex
eq "#{6/2}
#{6/2}", '3 3' # newline cannot be part of a regex, so it's division
eq "#{/// "'/'"/" ///}", '/"\'\\/\'"\\/"/' # heregex, stuffed with spicy characters
+eq "#{/\\'/}", "/\\\\'/"
hello = 'Hello'
world = 'World'

0 comments on commit 6f64fc2

Please sign in to comment.