changeset 8012:8c5f1b28e0bb

tests: use unified diff in test-command-template for better error reports
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 06 Apr 2009 10:53:01 +0200
parents 25b63941b17b
children 9ec25db32b4e
files tests/test-command-template
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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'