summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-05-30 08:46:35 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-03 10:01:03 -0700
commit1fee89cedd3f797ae792379475fab3e4183de17e (patch)
tree1efc7e017a0433fb6d58c97364213962fe5c92d7 /t
parentUpdate draft release notes to 1.8.4 (diff)
downloadtgif-1fee89cedd3f797ae792379475fab3e4183de17e.tar.xz
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')
-rwxr-xr-xt/t5407-post-rewrite-hook.sh4
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' '