Skip to content

Commit

Permalink
test_i18ngrep: hard deprecate and forbid its use
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
gitster committed Mar 2, 2024
1 parent 0d464a4 commit 381a83d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/test-lib-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1263,9 +1263,8 @@ test_cmp_bin () {
cmp "$@"
}

# Deprecated - do not use this in new code
test_i18ngrep () {
test_grep "$@"
BUG "do not use test_i18ngrep---use test_grep instead"
}

test_grep () {
Expand Down

0 comments on commit 381a83d

Please sign in to comment.