diff tests/test-highlight @ 8083:29ac24a36ed7

test-highlight: adapt output to latest pygments keeping backwards compatibility
author Christian Ebert <blacktrash@gmx.net>
date Sun, 19 Apr 2009 13:27:03 +0100
parents 5fb6edbf0ab8
children 0b93eff3721d
line wrap: on
line diff
--- a/tests/test-highlight	Sat Apr 18 22:54:37 2009 +0200
+++ b/tests/test-highlight	Sun Apr 19 13:27:03 2009 +0100
@@ -24,7 +24,7 @@
 
 echo % hgweb filerevision, html
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \
-    | sed "s/class=\"k\"/class=\"kn\"/g"
+    | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mf\"/class=\"mi\"/g"
 
 echo % hgweb filerevision, html
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/isolatin.txt') \
@@ -32,7 +32,7 @@
 
 echo % hgweb fileannotate, html
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \
-    | sed "s/class=\"k\"/class=\"kn\"/g"
+    | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mi\"/class=\"mf\"/g"
 
 echo % hgweb fileannotate, raw
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py?style=raw') \