t: fix typos in test messages

Both in t4258 and in t9001, the code of the tests following shows the
proper name for the configuration variables.  So use the correct names
in the test messages as well.

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Andrei Rybak 2021-06-25 21:38:50 +02:00 committed by Junio C Hamano
parent 3fca954172
commit 6fc5369263
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ test_expect_success 'am --quoted-cr=strip' '
git diff --exit-code HEAD two git diff --exit-code HEAD two
' '
test_expect_success 'am with config mailinfo.quotecr=strip' ' test_expect_success 'am with config mailinfo.quotedCr=strip' '
test_might_fail git am --abort && test_might_fail git am --abort &&
git reset --hard one && git reset --hard one &&
test_config mailinfo.quotedCr strip && test_config mailinfo.quotedCr strip &&

View File

@ -1829,7 +1829,7 @@ test_expect_success $PREREQ 'sendemail.aliasfiletype=mailrc' '
grep "^!somebody@example\.org!$" commandline1 grep "^!somebody@example\.org!$" commandline1
' '
test_expect_success $PREREQ 'sendemail.aliasfile=~/.mailrc' ' test_expect_success $PREREQ 'sendemail.aliasesfile=~/.mailrc' '
clean_fake_sendmail && clean_fake_sendmail &&
echo "alias sbd someone@example.org" >"$HOME/.mailrc" && echo "alias sbd someone@example.org" >"$HOME/.mailrc" &&
git config --replace-all sendemail.aliasesfile "~/.mailrc" && git config --replace-all sendemail.aliasesfile "~/.mailrc" &&