tests/test-diff-ignore-whitespace
changeset 3199 096f1c73cdc3
parent 2610 7a87aebd848e
child 4878 372d93f03d3a
--- a/tests/test-diff-ignore-whitespace	Fri Sep 29 23:14:22 2006 +0200
+++ b/tests/test-diff-ignore-whitespace	Tue Sep 26 00:05:24 2006 +0100
@@ -3,8 +3,7 @@
 # GNU diff is the reference for all of these results.
 
 hgdiff() {
-    hg diff "$@" | sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
-                  -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/"
+    hg diff --nodates "$@"
 }
 
 test_added_blank_lines() {