text/runes
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
..
cond.go runes: added spanner implemenation 2016-09-20 11:32:40 +00:00
cond_test.go runes: added spanner implemenation 2016-09-20 11:32:40 +00:00
example_test.go
runes.go all: fix a few function names on comments 2022-10-12 13:49:10 +00:00
runes_test.go internal/texttest: remove Run and Bench helpers 2024-10-21 18:16:43 +00:00