Skip to content

Commit

Permalink
Test for JS string hex escape processing
Browse files Browse the repository at this point in the history
  • Loading branch information
codepainters committed May 12, 2022
1 parent 49db2d2 commit fbd385b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/messages/test_jslexer.py
Expand Up @@ -4,6 +4,7 @@
def test_unquote():
assert jslexer.unquote_string('""') == ''
assert jslexer.unquote_string(r'"h\u00ebllo"') == u"hëllo"
assert jslexer.unquote_string(r'"h\xebllo"') == u"hëllo"


def test_dollar_in_identifier():
Expand Down

0 comments on commit fbd385b

Please sign in to comment.