# HG changeset patch # User Martin Geisler # Date 1252100713 -7200 # Node ID b42b03308ae9da8745b889a2ddbfeb58ea0019dd # Parent 6cfea6e4c892d762461f6b67d15c3f841756c9e2 test-highlight: remove redundant test Changeset 799373ff2554 is testing how a EUC-JP encoded Japanese file is treated in different encodings, so the ISO-8859-1 encoded German file is no longer needed. diff -r 6cfea6e4c892 -r b42b03308ae9 tests/test-highlight --- a/tests/test-highlight Fri Sep 04 23:34:51 2009 +0200 +++ b/tests/test-highlight Fri Sep 04 23:45:13 2009 +0200 @@ -47,9 +47,6 @@ print "The first %d primes: %s" % (n, list(islice(p, n))) EOF -# check for UnicodeDecodeError with iso-8859-1 file contents -python -c 'fp = open("isolatin.txt", "w"); fp.write("h\xFCbsch\n"); fp.close();' - hg ci -Ama echo % hg serve @@ -60,10 +57,6 @@ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/primes.py') \ | 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') \ - | sed "s/class=\"k\"/class=\"kn\"/g" - echo % hgweb fileannotate, html ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/primes.py') \ | sed "s/class=\"k\"/class=\"kn\"/g" | sed "s/class=\"mi\"/class=\"mf\"/g" diff -r 6cfea6e4c892 -r b42b03308ae9 tests/test-highlight.out --- a/tests/test-highlight.out Fri Sep 04 23:34:51 2009 +0200 +++ b/tests/test-highlight.out Fri Sep 04 23:45:13 2009 +0200 @@ -1,4 +1,3 @@ -adding isolatin.txt adding primes.py % hg serve % hgweb filerevision, html @@ -12,7 +11,7 @@ -test: 3e1445510fe7 primes.py +test: 853dcd4de2a6 primes.py @@ -23,27 +22,27 @@ mercurial

test

-

view primes.py @ 0:3e1445510fe7

+

view primes.py @ 0:853dcd4de2a6

- - - - - - % hgweb fileannotate, html 200 Script output follows @@ -228,28 +140,28 @@ mercurial

test

-

annotate primes.py @ 0:3e1445510fe7

+

annotate primes.py @ 0:853dcd4de2a6