tests/test-highlight.t
changeset 20598 e57e2da803aa
parent 19796 544848ef65f2
child 21120 9ea9e94c7492
--- a/tests/test-highlight.t	Fri Feb 14 00:34:20 2014 +0100
+++ b/tests/test-highlight.t	Wed Feb 19 13:46:49 2014 -0800
@@ -522,7 +522,7 @@
   $ echo "" >> b
   $ echo "" >> b
   $ echo "" >> b
-  $ diff -u b a
+  $ cmp b a || diff -u b a
 
 hgweb filerevision, raw
 
@@ -531,7 +531,7 @@
   $ echo "200 Script output follows" > b
   $ echo "" >> b
   $ hg cat primes.py >> b
-  $ diff -u b a
+  $ cmp b a || diff -u b a
 
 hgweb highlightcss friendly