changeset 30853:312b861924c8 stable

test-highlight: add normalization rule for Pygments 2.2 The test failed on Debian sid because of new class="vm".
author Yuya Nishihara <yuya@tcha.org>
date Mon, 30 Jan 2017 22:50:20 +0900
parents cdeb0804d98c
children 0126e422450e
files tests/test-highlight.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"
   > }