]> Cypherpunks.ru repositories - gostls13.git/commit
testing: add Testing function
authorIan Lance Taylor <iant@golang.org>
Thu, 9 Mar 2023 00:16:59 +0000 (16:16 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 13 Mar 2023 21:58:46 +0000 (21:58 +0000)
commit7f38067acb738c43d870400dd648662d31456f5f
tree025b7a15e03a78e9e7de73150f7b1099a878b46c
parente8543a6fa6e68a9d35178a5bbb71812cfbc2ba05
testing: add Testing function

The Testing function reports whether the program is a test created
by "go test".

Fixes #52600

Change-Id: Ie0fff7c7dfdfdf997c18b4b6112632600b327cc8
Reviewed-on: https://go-review.googlesource.com/c/go/+/475496
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
api/next/52600.txt [new file with mode: 0644]
src/cmd/go/internal/load/test.go
src/testing/testing.go
src/testing/testing_test.go