Merge pull request #1015 from aymerick/fix-test

Fix tokenizer test for double quoted strings
This commit is contained in:
Kevin Decker
2015-05-05 10:23:16 -05:00
+1 -1
View File
@@ -264,7 +264,7 @@ describe('Tokenizer', function() {
});
it('tokenizes mustaches with String params as "OPEN ID ID STRING CLOSE"', function() {
var result = tokenize('{{ foo bar \'baz\' }}');
var result = tokenize('{{ foo bar \"baz\" }}');
shouldMatchTokens(result, ['OPEN', 'ID', 'ID', 'STRING', 'CLOSE']);
shouldBeToken(result[3], 'STRING', 'baz');
});