diff tests/test-highlight @ 7038:d1c82127573e

tests: fix test-highlight for compatiblity with newer Pygments
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 17 Sep 2008 11:14:06 +0200
parents 3b841c189ab7
children f29b674cc221
line wrap: on
line diff
--- a/tests/test-highlight	Wed Sep 17 10:24:30 2008 +0200
+++ b/tests/test-highlight	Wed Sep 17 11:14:06 2008 +0200
@@ -18,11 +18,11 @@
 
 echo % hgweb filerevision
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/get-with-headers.py') \
-    | sed "s/[0-9]* years ago/long ago/g"
+    | sed "s/[0-9]* years ago/long ago/g" | sed "s/class=\"k\"/class=\"kn\"/g"
 
 echo % hgweb fileannotate
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/get-with-headers.py') \
-    | sed "s/[0-9]* years ago/long ago/g"
+    | sed "s/[0-9]* years ago/long ago/g" | sed "s/class=\"k\"/class=\"kn\"/g"
 
 echo % errors encountered
 cat errors.log