tests: use unified diff in test-command-template for better error reports
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 06 Apr 2009 10:53:01 +0200
changeset 8012 8c5f1b28e0bb
parent 8011 25b63941b17b
child 8013 9ec25db32b4e
tests: use unified diff in test-command-template for better error reports
tests/test-command-template
--- a/tests/test-command-template	Sat Apr 04 18:12:43 2009 +0200
+++ b/tests/test-command-template	Mon Apr 06 10:53:01 2009 +0200
@@ -43,15 +43,15 @@
 echo '#  normal'
 hg log > log.out
 hg log --style default > style.out
-diff log.out style.out
+diff -u log.out style.out
 echo '#  verbose'
 hg log -v > log.out
 hg log -v --style default > style.out
-diff log.out style.out
+diff -u log.out style.out
 echo '#  debug'
 hg log --debug > log.out
 hg log --debug --style default > style.out
-diff log.out style.out
+diff -u log.out style.out
 
 echo '# revision with no copies (used to print a traceback)'
 hg tip -v --template '\n'