diff options
Diffstat (limited to 'spec/tokenizer.js')
-rw-r--r-- | spec/tokenizer.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/tokenizer.js b/spec/tokenizer.js index 36a632b..0f0dc0b 100644 --- a/spec/tokenizer.js +++ b/spec/tokenizer.js @@ -237,10 +237,10 @@ describe('Tokenizer', function() { shouldMatchTokens(result, ['OPEN_BLOCK', 'ID', 'CLOSE', 'CONTENT', 'OPEN_ENDBLOCK', 'ID', 'CLOSE']); }); - it('tokenizes inverse sections as "OPEN_INVERSE CLOSE"', function() { - shouldMatchTokens(tokenize("{{^}}"), ['OPEN_INVERSE', 'CLOSE']); - shouldMatchTokens(tokenize("{{else}}"), ['OPEN_INVERSE', 'CLOSE']); - shouldMatchTokens(tokenize("{{ else }}"), ['OPEN_INVERSE', 'CLOSE']); + it('tokenizes inverse sections as "INVERSE"', function() { + shouldMatchTokens(tokenize("{{^}}"), ['INVERSE']); + shouldMatchTokens(tokenize("{{else}}"), ['INVERSE']); + shouldMatchTokens(tokenize("{{ else }}"), ['INVERSE']); }); it('tokenizes inverse sections with ID as "OPEN_INVERSE ID CLOSE"', function() { |