]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/testdir: accept build go1.x build tag
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 17 Oct 2023 17:26:42 +0000 (00:26 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 17 Oct 2023 18:43:14 +0000 (18:43 +0000)
commit860c2557ab7995e64e5cc0f045ff676f1fcec0a0
treeb94a9b4090661d433d9177db2588d604ff16c6ee
parent408b31dcc5d888fe7599e703bb05f50d4a378d4f
cmd/internal/testdir: accept build go1.x build tag

While at it, also using "slices" package to simplify code.

For #63489

Change-Id: I72b325f6ad379b996c108145885fa71706f6659f
Reviewed-on: https://go-review.googlesource.com/c/go/+/536055
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/internal/testdir/testdir_test.go