text/unicode
Dmitri Shuralyov fefda1abda internal/texttest: remove Run and Bench helpers
Versions of Go whose testing package doesn't yet support subtests and
sub-benchmarks are no longer supported. Drop an intermediate layer of
compatibility from the ./internal/texttest package.

The initial version of this change was git-generate'd with the script:

rm internal/testtext/go1_{6,7}.go
gofmt -r 'testtext.Run(t, n, f) -> t.Run(n, f)' -w .
gofmt -r 'testtext.Bench(b, n, f) -> b.Run(n, f)' -w .
goimports -w .

Unfortunately it seems gofmt -r dropped inner comments inside f, and
also added some spurious blank lines. So it was manually amended not
to include those changes.

Change-Id: I5bcb553b90ce392aada7896d576194be479f2616
Reviewed-on: https://go-review.googlesource.com/c/text/+/621575
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-10-21 18:16:43 +00:00
..
bidi all: update go directive to 1.18 2023-10-11 21:58:48 +00:00
cldr internal/texttest: remove Run and Bench helpers 2024-10-21 18:16:43 +00:00
norm internal/texttest: remove Run and Bench helpers 2024-10-21 18:16:43 +00:00
rangetable all: update go directive to 1.18 2023-10-11 21:58:48 +00:00
runenames all: update go directive to 1.18 2023-10-11 21:58:48 +00:00
doc.go unicode/cldr: moved cldr to the unicode directory 2015-12-06 18:04:42 +00:00