diff options
author | Anders Kaseorg <andersk@mit.edu> | 2021-12-01 22:15:42 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-02 06:18:25 (GMT) |
commit | 7435e7e2e7645124679eedbfb1443b8408f29219 (patch) | |
tree | 1f628a8bb044de33b18dae2c57e2d295e04a847d /t/t3200-branch.sh | |
parent | c25edee9a5dd9481e00ee5d2d40d4b9f8231993f (diff) | |
download | git-7435e7e2e7645124679eedbfb1443b8408f29219.zip git-7435e7e2e7645124679eedbfb1443b8408f29219.tar.gz git-7435e7e2e7645124679eedbfb1443b8408f29219.tar.bz2 |
branch: lowercase error messages
Documentation/CodingGuidelines says “do not end error messages with a
full stop” and “do not capitalize the first word”. Clean up existing
messages, some of which we will be touching in later steps in the
series, that deviate from these rules in this file, as a preparation for
the main part of the topic.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3200-branch.sh')
-rwxr-xr-x | t/t3200-branch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 8c5c1cc..e35e119 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -888,7 +888,7 @@ test_expect_success '--set-upstream-to fails on a missing src branch' ' ' test_expect_success '--set-upstream-to fails on a non-ref' ' - echo "fatal: Cannot setup tracking information; starting point '"'"'HEAD^{}'"'"' is not a branch." >expect && + echo "fatal: cannot set up tracking information; starting point '"'"'HEAD^{}'"'"' is not a branch" >expect && test_must_fail git branch --set-upstream-to HEAD^{} 2>err && test_cmp expect err ' @@ -975,7 +975,7 @@ test_expect_success 'disabled option --set-upstream fails' ' test_expect_success '--set-upstream-to notices an error to set branch as own upstream' ' git branch --set-upstream-to refs/heads/my13 my13 2>actual && cat >expect <<-\EOF && - warning: Not setting branch my13 as its own upstream. + warning: not setting branch my13 as its own upstream EOF test_expect_code 1 git config branch.my13.remote && test_expect_code 1 git config branch.my13.merge && |