Fix tokenizer test for double quoted strings

There is two consecutive tests with the same input data: "{{ foo bar \'baz\' }}"

I suppose the first test should be about testing double quoted string.
This commit is contained in:
Aymerick
2015-05-01 11:35:25 +02:00
parent 891f48b7e9
commit afd595bd6e
+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');
});