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>
Felipe Contreras committed
May 30, 2013 at 08:46 UTC
1fee89cedd3f797ae792379475fab3e4183de17e
1 file changed
+2
-2
t/t5407-post-rewrite-hook.sh
+2
-2
@@ -31,8 +31,8 @@ clear_hook_input () {
31
}
32
33
verify_hook_input () {
34
- test_cmp "$TRASH_DIRECTORY"/post-rewrite.args expected.args &&
35
- test_cmp "$TRASH_DIRECTORY"/post-rewrite.data expected.data
34
+ test_cmp expected.args "$TRASH_DIRECTORY"/post-rewrite.args &&
35
+ test_cmp expected.data "$TRASH_DIRECTORY"/post-rewrite.data
36
}
37
38
test_expect_success 'git commit --amend' '