Code

Merge branch 'zj/test-cred-helper-nicer-prove'
[git.git] / t / t7503-pre-commit-hook.sh
index aa294ea42834f303fa8776c103c4f79d298f7b93..984889b39d3f8e9941a2aadc8cec833fe42176a2 100755 (executable)
@@ -118,7 +118,7 @@ test_expect_success 'with failing hook requiring GIT_PREFIX' '
        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"