diff --git a/test/test_compilation.coffee b/test/test_compilation.coffee index daf4db78..1dd40110 100644 --- a/test/test_compilation.coffee +++ b/test/test_compilation.coffee @@ -45,7 +45,7 @@ class WordArrayNode extends BaseNode "[$strings]" CoffeeScript.extend -> - return false unless words: @chunk.match(/^%w\{(.*)\}/) + return false unless words: @chunk.match(/^%w\{(.*?)\}/) @i += words[0].length @token 'EXTENSION', new WordArrayNode(words[1].split(/\s+/)) true