test-highlight: add normalization rule for Pygments 2.2 stable
authorYuya Nishihara <yuya@tcha.org>
Mon, 30 Jan 2017 22:50:20 +0900
branchstable
changeset 30853 312b861924c8
parent 30852 cdeb0804d98c
child 30854 0126e422450e
test-highlight: add normalization rule for Pygments 2.2 The test failed on Debian sid because of new class="vm".
tests/test-highlight.t
--- a/tests/test-highlight.t	Sun Jan 29 12:40:56 2017 -0800
+++ b/tests/test-highlight.t	Mon Jan 30 22:50:20 2017 +0900
@@ -13,6 +13,7 @@
   $ filterhtml () {
   >   sed -e "s/class=\"k\"/class=\"kn\"/g" \
   >       -e "s/class=\"mf\"/class=\"mi\"/g" \
+  >       -e "s/class=\"vm\"/class=\"n\"/g" \
   >       -e "s/class=\"\([cs]\)[h12]\"/class=\"\1\"/g"
   > }