diff options
author | Felix Hao <felixhao28@gmail.com> | 2021-01-04 14:49:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 14:49:31 +0800 |
commit | 05effdac9409f1d04820ecf7c7979987f7a5f36c (patch) | |
tree | a3f6a5477943d73284c5efaa66580578ceae9e74 | |
parent | 4c5564dedef1d78cf377c0e6ab3726db0bba68f1 (diff) | |
download | pygments-git-05effdac9409f1d04820ecf7c7979987f7a5f36c.tar.gz |
Update tests/test_javascript.py
Co-authored-by: Mestery <48163546+Mesteery@users.noreply.github.com>
-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' '), |