summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_html_lexer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_html_lexer.py b/tests/test_html_lexer.py
index 9ac72e33..62f1c8d4 100644
--- a/tests/test_html_lexer.py
+++ b/tests/test_html_lexer.py
@@ -65,9 +65,7 @@ def test_long_unclosed_javascript_fragment(lexer_html):
tokens_body = [
(Token.Name.Other, 'alert'),
(Token.Punctuation, '('),
- (Token.Literal.String.Double, '"'),
- (Token.Literal.String.Double, 'hi'),
- (Token.Literal.String.Double, '"'),
+ (Token.Literal.String.Double, '"hi"'),
(Token.Punctuation, ')'),
(Token.Punctuation, ';'),
]