diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-05-30 08:46:35 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-03 10:01:03 -0700 |
commit | 1fee89cedd3f797ae792379475fab3e4183de17e (patch) | |
tree | 1efc7e017a0433fb6d58c97364213962fe5c92d7 /t/t5407-post-rewrite-hook.sh | |
parent | b2edae0ab6d8188d6cd912ba5c8d1f2086c2cb9a (diff) | |
download | git-1fee89cedd3f797ae792379475fab3e4183de17e.tar.gz |
test: fix post rewrite hook report
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>
Diffstat (limited to 't/t5407-post-rewrite-hook.sh')
-rwxr-xr-x | t/t5407-post-rewrite-hook.sh | 4 |
1 files 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' ' |