Daniel Shahaf 13a8db1d71 | il y a 9 ans | |
---|---|---|
.. | ||
README.md | il y a 13 ans | |
test-highlighting.zsh | il y a 9 ans | |
test-perfs.zsh | il y a 13 ans |
Utility scripts for testing zsh-syntax-highlighting highlighters.
The tests expect the highlighter directory to contain a test-data
directory with test data files. See the main highlighter for examples.
test-highlighting.zsh
tests the correctness of the highlighting. Usage:
zsh test-highlighting.zsh <HIGHLIGHTER NAME>
test-perfs.zsh
measures the time spent doing the highlighting. Usage:
zsh test-perfs.zsh <HIGHLIGHTER NAME>