diff options
author | Johannes Sixt <j6t@kdbg.org> | 2021-02-23 22:11:32 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-23 13:30:45 -0800 |
commit | b865734760c2f677d625a1d939071844048051e4 (patch) | |
tree | 9ee9012f195003309f9b1a6343e95607fabe5f05 /t/t3301-notes.sh | |
parent | Merge branch 'tb/ci-run-cocci-with-18.04' into maint (diff) | |
download | tgif-b865734760c2f677d625a1d939071844048051e4.tar.xz |
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-x | t/t3301-notes.sh | 6 |
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' ' |