From 1fee89cedd3f797ae792379475fab3e4183de17e Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Thu, 30 May 2013 08:46:35 -0500 Subject: [PATCH] test: fix post rewrite hook report First expected, then actual. Signed-off-by: Felipe Contreras Acked-by: Thomas Rast Signed-off-by: Junio C Hamano --- t/t5407-post-rewrite-hook.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t5407-post-rewrite-hook.sh b/t/t5407-post-rewrite-hook.sh index baa670cea5..ea2e0d4b48 100755 --- a/t/t5407-post-rewrite-hook.sh +++ b/t/t5407-post-rewrite-hook.sh @@ -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' ' -- 2.47.1