summaryrefslogtreecommitdiffstats
path: root/t/t1410-reflog.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-11-10 06:16:15 +0100
committerJunio C Hamano <gitster@pobox.com>2018-11-12 06:47:10 +0100
commit674ba34038568e36090c6c4c616a3266c8b6459e (patch)
tree39efb561dcb2704ec745566a1f45821267fdc82c /t/t1410-reflog.sh
parentfsck: reduce word legos to help i18n (diff)
downloadgit-674ba34038568e36090c6c4c616a3266c8b6459e.tar.xz
git-674ba34038568e36090c6c4c616a3266c8b6459e.zip
fsck: mark strings for translation
Two die() are updated to start with lowercase to be consistent with the rest. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1410-reflog.sh')
-rwxr-xr-xt/t1410-reflog.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index 388b0611d8..353bdfd415 100755
--- a/t/t1410-reflog.sh
+++ b/t/t1410-reflog.sh
@@ -20,12 +20,12 @@ check_have () {
}
check_fsck () {
- output=$(git fsck --full)
+ git fsck --full >fsck.output
case "$1" in
'')
- test -z "$output" ;;
+ test_must_be_empty fsck.output ;;
*)
- echo "$output" | grep "$1" ;;
+ test_i18ngrep "$1" fsck.output ;;
esac
}