Adding upstream version 12.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
82a8846a46
commit
70d5d3451a
100 changed files with 35022 additions and 30936 deletions
|
@ -102,3 +102,14 @@ x"""
|
|||
(TokenType.SEMICOLON, ";"),
|
||||
],
|
||||
)
|
||||
|
||||
tokens = tokenizer.tokenize("""'{{ var('x') }}'""")
|
||||
tokens = [(token.token_type, token.text) for token in tokens]
|
||||
self.assertEqual(
|
||||
tokens,
|
||||
[
|
||||
(TokenType.STRING, "{{ var("),
|
||||
(TokenType.VAR, "x"),
|
||||
(TokenType.STRING, ") }}"),
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue