test_i18ngrep: hard deprecate and forbid its use
Since v2.44.0-rc0~109 (Merge branch 'sp/test-i18ngrep', 2023-12-27) none of the tests we have, either in 'master' or in flight and collected in 'seen', use test_i18ngrep. Perhaps it is good time to update test_i18ngrep to BUG to avoid people adding new calls to it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Mar 2, 2024 at 09:13 UTC
381a83dfa3aaf221fcf5776c302520029ee3590a
1 file changed
+1
-2
t/test-lib-functions.sh
+1
-2
@@ -1263,9 +1263,8 @@ test_cmp_bin () {
1263
cmp "$@"
1264
}
1265
1266
-# Deprecated - do not use this in new code
1266
test_i18ngrep () {
1268
- test_grep "$@"
1267
+ BUG "do not use test_i18ngrep---use test_grep instead"
1268
}
1269
1270
test_grep () {