]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test: fix post rewrite hook report
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 30 May 2013 13:46:35 +0000 (08:46 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Jun 2013 17:01:03 +0000 (10:01 -0700)
First expected, then actual.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5407-post-rewrite-hook.sh

index baa670cea5d8a9d8b4b4578de69917fe76f71d46..ea2e0d4b489a9e079c93b36b013d4bc919755c02 100755 (executable)
@@ -31,8 +31,8 @@ clear_hook_input () {
 }
 
 verify_hook_input () {
-       test_cmp "$TRASH_DIRECTORY"/post-rewrite.args expected.args &&
-       test_cmp "$TRASH_DIRECTORY"/post-rewrite.data expected.data
+       test_cmp expected.args "$TRASH_DIRECTORY"/post-rewrite.args &&
+       test_cmp expected.data "$TRASH_DIRECTORY"/post-rewrite.data
 }
 
 test_expect_success 'git commit --amend' '