Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsoken June Ibizugbe <isokenjune@gmail.com>2023-10-23 19:06:56 +0300
committerJunio C Hamano <gitster@pobox.com>2023-10-23 22:22:57 +0300
commit12b99928c8fc85a2500f34ef4f492b427b13f088 (patch)
tree497990ff1f4a080288c16ab233a39a4d1b8dbb50 /t/t2407-worktree-heads.sh
parentceadf0f3cf51550166a387ec8508bb55e7883057 (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-xt/t2407-worktree-heads.sh2
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
'