git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 2/3] t: fix typos in test messages

From
Andrei Rybak <rybak.a.v@gmail.com>
Date
Jun 25, 2021, 19:38 UTC
Message-ID
<20210625193851.2233114-3-rybak.a.v@gmail.com>
In-Reply-To
<20210625193851.2233114-1-rybak.a.v@gmail.com>

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>
---
 t/t4258-am-quoted-cr.sh | 2 +-
 t/t9001-send-email.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t4258-am-quoted-cr.sh b/t/t4258-am-quoted-cr.sh
index fb5071f914..201915b45a 100755
--- a/t/t4258-am-quoted-cr.sh
+++ b/t/t4258-am-quoted-cr.sh
@@ -26,7 +26,7 @@ test_expect_success 'am --quoted-cr=strip' '
 	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 &&
 	git reset --hard one &&
 	test_config mailinfo.quotedCr strip &&
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index c66d9190de..9ec7d75f0f 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -1839,7 +1839,7 @@ test_expect_success $PREREQ 'sendemail.aliasfiletype=mailrc' '
 	grep "^!somebody@example\.org!$" commandline1
 '
 
-test_expect_success $PREREQ 'sendemail.aliasfile=~/.mailrc' '
+test_expect_success $PREREQ 'sendemail.aliasesfile=~/.mailrc' '
 	clean_fake_sendmail &&
 	echo "alias sbd  someone@example.org" >"$HOME/.mailrc" &&
 	git config --replace-all sendemail.aliasesfile "~/.mailrc" &&
-- 
2.32.0
Previous: Andrei RybakNext: Andrei Rybak
Message 11 of 16 in “blame: fix typo in documentation”
  1. blame: fix typo in documentationAndrei Rybak, Jun 18, 2021
  2. Bagas SanjayaJun 19, 2021
  3. Andrei RybakJun 19, 2021
  4. Bagas SanjayaJun 19, 2021
  5. Felipe ContrerasJun 19, 2021
  6. blame: correct name of config option in docsAndrei Rybak, Jun 19, 2021
  7. Bagas SanjayaJun 20, 2021
  8. Barret RhodenJun 21, 2021
  9. 0/3 Config option names typofixesAndrei Rybak, Jun 25, 2021
  10. 1/3 blame: correct name of config option in docsAndrei Rybak, Jun 25, 2021
  11. 2/3 t: fix typos in test messagesAndrei Rybak, Jun 25, 2021
  12. 3/3 git-worktree.txt: fix typo in example pathAndrei Rybak, Jun 25, 2021
  13. Carlo Marcelo Arenas BelónJun 26, 2021
  14. Andrei RybakJun 26, 2021
  15. Junio C HamanoJun 29, 2021
  16. Bagas SanjayaJun 26, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.