summaryrefslogtreecommitdiff
path: root/tests/test_template.py
Commit message (Collapse)AuthorAgeFilesLines
* Skip empty tokens in some cases.Matthäus G. Chajdas2020-09-081-0/+1
| | | | | This fixes an empty token appearing in the Angular lexer (and apparently also in the MSDOS lexer.)
* Add test case for Angular2 lexer bug.Matthäus G. Chajdas2020-07-311-0/+27
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.