diff options
author | Isoken June Ibizugbe <isokenjune@gmail.com> | 2023-10-23 19:06:56 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-10-23 22:22:57 +0300 |
commit | 12b99928c8fc85a2500f34ef4f492b427b13f088 (patch) | |
tree | 497990ff1f4a080288c16ab233a39a4d1b8dbb50 /t/t2407-worktree-heads.sh | |
parent | ceadf0f3cf51550166a387ec8508bb55e7883057 (diff) |
builtin/branch.c: adjust error messages to coding guidelines
As per the CodingGuidelines document, it is recommended that error messages
such as die(), error() and warning(), should start with a lowercase letter
and should not end with a period.
This patch adjusts tests to match updated messages.
Signed-off-by: Isoken June Ibizugbe <isokenjune@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2407-worktree-heads.sh')
-rwxr-xr-x | t/t2407-worktree-heads.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2407-worktree-heads.sh b/t/t2407-worktree-heads.sh index 469443d8ae..f6835c91dc 100755 --- a/t/t2407-worktree-heads.sh +++ b/t/t2407-worktree-heads.sh @@ -45,7 +45,7 @@ test_expect_success 'refuse to overwrite: checked out in worktree' ' grep "cannot force update the branch" err && test_must_fail git branch -D wt-$i 2>err && - grep "Cannot delete branch" err || return 1 + grep "cannot delete branch" err || return 1 done ' |