comparison tests/test_algpseudo.py @ 64:05c53e431c88

Simplify case-handling for "BLOCK" and "REMARK"
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 28 Apr 2026 12:40:02 +0200
parents 7153e945a3d6
children 9ba1584d4b4a
comparison
equal deleted inserted replaced
63:414bf3cbb152 64:05c53e431c88
272 ("Comment.Single", " the remark 1"), 272 ("Comment.Single", " the remark 1"),
273 ("Text.Whitespace", "\n"), 273 ("Text.Whitespace", "\n"),
274 ("Comment.Single", "▷"), 274 ("Comment.Single", "▷"),
275 ("Comment.Single", " the remark 2"), 275 ("Comment.Single", " the remark 2"),
276 ("Text.Whitespace", "\n"), 276 ("Text.Whitespace", "\n"),
277 ("Comment.Single", "▷"),
278 ("Comment.Single", " the remark 3"),
279 ("Text.Whitespace", "\n"),
280 ], 277 ],
281 pygments.lex( 278 pygments.lex(
282 """\\REMARK the remark 1 279 """\\remArk the remark 1
283 \\Rem the remark 2 280 \\Rem the remark 2
284 \\r the remark 3
285 """, self.lexer)) 281 """, self.lexer))
286 282
287 283
288 if __name__ == "__main__": 284 if __name__ == "__main__":
289 unittest.main() 285 unittest.main()