File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -157,8 +157,7 @@ test_http_push_nonff() {
157157 grep "^ ! \[rejected\][ ]*$BRANCH -> $BRANCH (non-fast-forward)$" output
158158 '
159159
160- test_expect_success C_LOCALE_OUTPUT ' non-fast-forward push shows help message' '
161- grep "To prevent you from losing history, non-fast-forward updates were rejected" \
162- output
160+ test_expect_success ' non-fast-forward push shows help message' '
161+ test_i18ngrep "To prevent you from losing history, non-fast-forward updates were rejected" output
163162 '
164163}
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ test_expect_success 'checkout chooses branch over tag' '
2929 test_cmp expect file
3030'
3131
32- test_expect_success C_LOCALE_OUTPUT ' checkout reports switch to branch' '
33- grep "Switched to branch" stderr &&
34- ! grep "^HEAD is now at" stderr
32+ test_expect_success ' checkout reports switch to branch' '
33+ test_i18ngrep "Switched to branch" stderr &&
34+ test_i18ngrep ! "^HEAD is now at" stderr
3535'
3636
3737test_expect_success ' checkout vague ref succeeds' '
@@ -51,9 +51,9 @@ test_expect_success VAGUENESS_SUCCESS 'checkout chooses branch over tag' '
5151 test_cmp expect file
5252'
5353
54- test_expect_success VAGUENESS_SUCCESS,C_LOCALE_OUTPUT ' checkout reports switch to branch' '
55- grep "Switched to branch" stderr &&
56- ! grep "^HEAD is now at" stderr
54+ test_expect_success VAGUENESS_SUCCESS ' checkout reports switch to branch' '
55+ test_i18ngrep "Switched to branch" stderr &&
56+ test_i18ngrep ! "^HEAD is now at" stderr
5757'
5858
5959test_done
You can’t perform that action at this time.
0 commit comments