diff --git a/tests/test-highlight.t b/tests/test-highlight.t --- a/tests/test-highlight.t +++ b/tests/test-highlight.t @@ -186,6 +186,105 @@ hgweb filerevision, html +file with exotic linebreak is not highlighted (currently broken) + $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file/tip/with-ff.py') \ + > | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mf\"/class=\"mi\"/g" + 200 Script output follows + + + + + + + + + + + test: 561b8b6483ac with-ff.py + + + +
+ + +
+ +

view with-ff.py @ 0:561b8b6483ac

+ + + +
a
+ + + + + + + + + + + + + + + + + + +
authortest
dateThu, 01 Jan 1970 00:00:00 +0000
parents
children
+ +
+
line wrap: on
+
line source
+
+  x = 1
+  x=2
+
+
+
+
+ + + + + + + + hgweb fileannotate, html $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'annotate/tip/primes.py') \