summaryrefslogtreecommitdiff
path: root/t/t0029-core-unsetenvvars.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0029-core-unsetenvvars.sh')
-rwxr-xr-xt/t0029-core-unsetenvvars.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t0029-core-unsetenvvars.sh b/t/t0029-core-unsetenvvars.sh
index b138e1d9cb..4e8e90dd98 100755
--- a/t/t0029-core-unsetenvvars.sh
+++ b/t/t0029-core-unsetenvvars.sh
@@ -12,8 +12,7 @@ then
fi
test_expect_success 'setup' '
- mkdir -p "$TRASH_DIRECTORY/.git/hooks" &&
- write_script "$TRASH_DIRECTORY/.git/hooks/pre-commit" <<-\EOF
+ test_hook --setup pre-commit <<-\EOF
echo $HOBBES >&2
EOF
'