Merge branch 'fc/makefile'
[gitweb.git] / 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' '