Skip to content

Commit

Permalink
Update tests/test_javascript.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mestery <48163546+Mesteery@users.noreply.github.com>
  • Loading branch information
felixhao28 and Mesteery committed Jan 4, 2021
1 parent 4c5564d commit 05effda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_javascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' '),
Expand Down

0 comments on commit 05effda

Please sign in to comment.