diff options
author | Ian Lance Taylor <iant@golang.org> | 2023-03-08 16:16:59 -0800 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-03-13 21:58:46 +0000 |
commit | 7f38067acb738c43d870400dd648662d31456f5f (patch) | |
tree | 025b7a15e03a78e9e7de73150f7b1099a878b46c /api | |
parent | e8543a6fa6e68a9d35178a5bbb71812cfbc2ba05 (diff) | |
download | go-git-7f38067acb738c43d870400dd648662d31456f5f.tar.gz |
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>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/52600.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/52600.txt b/api/next/52600.txt new file mode 100644 index 0000000000..a9a34bbc0b --- /dev/null +++ b/api/next/52600.txt @@ -0,0 +1 @@ +pkg testing, func Testing() bool #52600 |