zulip/tools/tests
Steve Howell 2a07b204bf css parser: Show line numbers for errors.
This is a fairly major overhaul of the CSS parser to support
line numbers in error messages.

Basically, instead of passing "slices" of tokens around, we pass
indexes into the token arrays to all of our sub-parsers, which
allows them to have access to previous tokens in certain cases.
This is particularly important for errors where stuff is missing
(vs. being wrong).

In testing this out I found a few more places to catch errors.
2017-02-01 10:02:03 -08:00
..
test_template_data Lint for duplicate ids in templates. 2017-01-13 17:00:22 -08:00
__init__.py Add test coverage for parsers in tools/lib. 2016-08-04 10:47:09 -07:00
test_css_parser.py css parser: Show line numbers for errors. 2017-02-01 10:02:03 -08:00
test_html_branches.py tools: Fix regressions in tools/tests/test_html_branches.py 2017-01-19 08:02:34 -08:00
test_template_parser.py Add lint rule to disallow python calls with versions (e.g: python2, python3) 2016-12-19 08:00:48 -08:00