index aa294ea42834f303fa8776c103c4f79d298f7b93..984889b39d3f8e9941a2aadc8cec833fe42176a2 100755 (executable)
git checkout -- file
'
-test_expect_failure 'check the author in hook' '
+test_expect_success 'check the author in hook' '
write_script "$HOOK" <<-\EOF &&
test "$GIT_AUTHOR_NAME" = "New Author" &&
test "$GIT_AUTHOR_EMAIL" = "newauthor@example.com"