Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff tests/test_algpseudo.py @ 95:aed3204723ac
FIX: Test results because of changed whitespace handling
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 03 May 2026 15:14:19 +0200 |
| parents | dc17b778a52b |
| children | dd4eb937485c |
line wrap: on
line diff
--- a/tests/test_algpseudo.py Sun May 03 15:13:43 2026 +0200 +++ b/tests/test_algpseudo.py Sun May 03 15:14:19 2026 +0200 @@ -545,7 +545,8 @@ self.assertTokenStreamEqualComplete( [("Operator", "\n"), ("Operator", "/"), - ("Text", " \n"), # because of r"\s+", Text for expressions + ("Text", " "), + ("Text.Whitespace", "\n"), ], pygments.lex("\\tt-o/\n\\tt-o// ", self.lexer))
