Skip to content

Commit

Permalink
fix: update ptk highlight tests to reflect new tokenizing
Browse files Browse the repository at this point in the history
temporary fix while we sort out what broke upstream
  • Loading branch information
gforsyth committed Jan 17, 2023
1 parent d173ad7 commit 33b2ac0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_ptk_highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def factory(code, tokens):
(Literal.String.Double, "hello"),
(Literal.String.Double, '"'),
(Punctuation, ")"),
(Text, "\n"),
(Text.Whitespace, "\n"),
]
},
"invalid-cmd": {
Expand Down Expand Up @@ -111,7 +111,7 @@ def factory(code, tokens):
(Name.Builtin, "cd"),
(Punctuation, ")"),
(Punctuation, ")"),
(Text, "\n"),
(Text.Whitespace, "\n"),
],
r'print(![echo "])\""])': [
(Name.Builtin, "print"),
Expand All @@ -123,7 +123,7 @@ def factory(code, tokens):
(Literal.String.Double, '"])\\""'),
(Punctuation, "]"),
(Punctuation, ")"),
(Text, "\n"),
(Text.Whitespace, "\n"),
],
},
"subproc-args": {
Expand Down

0 comments on commit 33b2ac0

Please sign in to comment.