Skip to content

Commit 6938297

Browse files
committed
i18n: use test_i18ngrep in t7201
Some test were mistakenly disabled under GETTEXT_POISON as well, and they have been resurrected. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 476cca6 commit 6938297

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

t/t7201-co.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ test_expect_success 'checkout --merge --conflict=diff3 <branch>' '
223223
test_cmp two expect
224224
'
225225

226-
test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD (with advice declined)' '
226+
test_expect_success 'checkout to detach HEAD (with advice declined)' '
227227
228228
git config advice.detachedHead false &&
229229
git checkout -f renamer && git clean -f &&
230230
git checkout renamer^ 2>messages &&
231-
grep "HEAD is now at 7329388" messages &&
231+
test_i18ngrep "HEAD is now at 7329388" messages &&
232232
test 1 -eq $(wc -l <messages) &&
233233
H=$(git rev-parse --verify HEAD) &&
234234
M=$(git show-ref -s --verify refs/heads/master) &&
@@ -242,11 +242,11 @@ test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD (with advice declin
242242
fi
243243
'
244244

245-
test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD' '
245+
test_expect_success 'checkout to detach HEAD' '
246246
git config advice.detachedHead true &&
247247
git checkout -f renamer && git clean -f &&
248248
git checkout renamer^ 2>messages &&
249-
grep "HEAD is now at 7329388" messages &&
249+
test_i18ngrep "HEAD is now at 7329388" messages &&
250250
test 1 -lt $(wc -l <messages) &&
251251
H=$(git rev-parse --verify HEAD) &&
252252
M=$(git show-ref -s --verify refs/heads/master) &&
@@ -260,7 +260,7 @@ test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD' '
260260
fi
261261
'
262262

263-
test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD with branchname^' '
263+
test_expect_success 'checkout to detach HEAD with branchname^' '
264264
265265
git checkout -f master && git clean -f &&
266266
git checkout renamer^ &&
@@ -276,7 +276,7 @@ test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD with branchname^' '
276276
fi
277277
'
278278

279-
test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD with :/message' '
279+
test_expect_success 'checkout to detach HEAD with :/message' '
280280
281281
git checkout -f master && git clean -f &&
282282
git checkout ":/Initial" &&
@@ -292,7 +292,7 @@ test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD with :/message' '
292292
fi
293293
'
294294

295-
test_expect_success C_LOCALE_OUTPUT 'checkout to detach HEAD with HEAD^0' '
295+
test_expect_success 'checkout to detach HEAD with HEAD^0' '
296296
297297
git checkout -f master && git clean -f &&
298298
git checkout HEAD^0 &&

0 commit comments

Comments
 (0)