diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-07-21 07:49:35 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-23 18:19:10 (GMT) |
commit | 661558f0a58fc979c9c5fc1b720e48dfe23ef833 (patch) | |
tree | eeb30324725b449b65f03c4c74bef72645acd459 /t/t1404-update-ref-errors.sh | |
parent | c60d7697d15be22e54d2f88fd5d0a178a192fb79 (diff) | |
download | git-661558f0a58fc979c9c5fc1b720e48dfe23ef833.zip git-661558f0a58fc979c9c5fc1b720e48dfe23ef833.tar.gz git-661558f0a58fc979c9c5fc1b720e48dfe23ef833.tar.bz2 |
refs.c: mark more strings for translation
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/t1404-update-ref-errors.sh')
-rwxr-xr-x | t/t1404-update-ref-errors.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1404-update-ref-errors.sh b/t/t1404-update-ref-errors.sh index 3a887b5..2a42a58 100755 --- a/t/t1404-update-ref-errors.sh +++ b/t/t1404-update-ref-errors.sh @@ -27,7 +27,7 @@ test_update_rejected () { fi && printf "create $prefix/%s $C\n" $create >input && test_must_fail git update-ref --stdin <input 2>output.err && - grep -F "$error" output.err && + test_i18ngrep -F "$error" output.err && git for-each-ref $prefix >actual && test_cmp unchanged actual } @@ -103,7 +103,7 @@ df_test() { printf "%s\n" "delete $delname" "create $addname $D" fi >commands && test_must_fail git update-ref --stdin <commands 2>output.err && - test_cmp expected-err output.err && + test_i18ncmp expected-err output.err && printf "%s\n" "$C $delref" >expected-refs && git for-each-ref --format="%(objectname) %(refname)" $prefix/r >actual-refs && test_cmp expected-refs actual-refs |