summaryrefslogtreecommitdiff
path: root/tests/test_java.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-07-31 13:07:35 +0200
committerMatthäus G. Chajdas <dev@anteru.net>2020-07-31 13:07:35 +0200
commitb6d1d68de705e1cfc28a4188f792b29c545bf7ed (patch)
treefd06a33cd189e041ae28a4aaeb796af7ea2b3ebb /tests/test_java.py
parenteaab40379c0c55e5549f67097701abb99123a6e0 (diff)
downloadpygments-git-b6d1d68de705e1cfc28a4188f792b29c545bf7ed.tar.gz
Add test case for Angular2 lexer bug.
This test triggers a bug, in which a spurious Token.Text('') appears at the end. This seems to stem from the ('[^<&]+', Text), rule in the HTML lexer which matches the \n that gets automatically added during lexing.
Diffstat (limited to 'tests/test_java.py')
0 files changed, 0 insertions, 0 deletions