summaryrefslogtreecommitdiffstats
path: root/t/t0018-advice.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t0018-advice.sh')
-rwxr-xr-xt/t0018-advice.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t0018-advice.sh b/t/t0018-advice.sh
index fac52322a7..f68e08d0b1 100755
--- a/t/t0018-advice.sh
+++ b/t/t0018-advice.sh
@@ -5,13 +5,12 @@ test_description='Test advise_if_enabled functionality'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=trunk
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
-TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success 'advice should be printed when config variable is unset' '
cat >expect <<-\EOF &&
hint: This is a piece of advice
- hint: Disable this message with "git config advice.nestedTag false"
+ hint: Disable this message with "git config set advice.nestedTag false"
EOF
test-tool advise "This is a piece of advice" 2>actual &&
test_cmp expect actual