Skip to content

Commit afd595b

Browse files
committed
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.
1 parent 891f48b commit afd595b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/tokenizer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ describe('Tokenizer', function() {
264264
});
265265

266266
it('tokenizes mustaches with String params as "OPEN ID ID STRING CLOSE"', function() {
267-
var result = tokenize('{{ foo bar \'baz\' }}');
267+
var result = tokenize('{{ foo bar \"baz\" }}');
268268
shouldMatchTokens(result, ['OPEN', 'ID', 'ID', 'STRING', 'CLOSE']);
269269
shouldBeToken(result[3], 'STRING', 'baz');
270270
});

0 commit comments

Comments
 (0)