diff options
-rw-r--r-- | tests/test_javascript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_javascript.py b/tests/test_javascript.py index 2d27576e..d4c60d49 100644 --- a/tests/test_javascript.py +++ b/tests/test_javascript.py @@ -91,7 +91,7 @@ def ts_lexer(): def test_function_definition(ts_lexer): fragment = u'async function main() {\n}' tokens = [ - (Token.Name.Other, u'async'), + (Token.Keyword, u'async'), (Token.Text, u' '), (Token.Keyword.Declaration, u'function'), (Token.Text, u' '), |