summaryrefslogtreecommitdiff
path: root/t/t3301-notes.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2021-02-23 22:11:32 +0100
committerJunio C Hamano <gitster@pobox.com>2021-02-23 13:30:45 -0800
commitb865734760c2f677d625a1d939071844048051e4 (patch)
tree9ee9012f195003309f9b1a6343e95607fabe5f05 /t/t3301-notes.sh
parent59ec22464f6c2b170b05f287e00740ea2288fe5c (diff)
downloadgit-b865734760c2f677d625a1d939071844048051e4.tar.gz
replace "parameters" by "arguments" in error messages
When an error message informs the user about an incorrect command invocation, it should refer to "arguments", not "parameters". Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3301-notes.sh')
-rwxr-xr-xt/t3301-notes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
index ca60faf480..f34c14bd8e 100755
--- a/t/t3301-notes.sh
+++ b/t/t3301-notes.sh
@@ -1293,11 +1293,11 @@ test_expect_success 'GIT_NOTES_REWRITE_REF overrides config' '
grep "replacement note 3" actual
'
-test_expect_success 'git notes copy diagnoses too many or too few parameters' '
+test_expect_success 'git notes copy diagnoses too many or too few arguments' '
test_must_fail git notes copy 2>error &&
- test_i18ngrep "too few parameters" error &&
+ test_i18ngrep "too few arguments" error &&
test_must_fail git notes copy one two three 2>error &&
- test_i18ngrep "too many parameters" error
+ test_i18ngrep "too many arguments" error
'
test_expect_success 'git notes get-ref expands refs/heads/master to refs/notes/refs/heads/master' '