aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorfanzha02 <fannie.zhang@arm.com>2021-03-10 10:09:39 +0800
committerfannie zhang <Fannie.Zhang@arm.com>2021-03-10 04:06:13 +0000
commit4d608eb224fe1ba8e8532fcc44f91702a5b17f9f (patch)
treee18ed3615cfeefd3e37b67de9627f6f8360f0c61 /src/testing/testing.go
parent643d240a11b2d00e1718b02719707af0708e7519 (diff)
downloadgo-4d608eb224fe1ba8e8532fcc44f91702a5b17f9f.tar.gz
go-4d608eb224fe1ba8e8532fcc44f91702a5b17f9f.zip
testing: fix typo in a comment
Change-Id: I781808327be84113cd55c52bc214b821cd166114 Reviewed-on: https://go-review.googlesource.com/c/go/+/300269 Trust: fannie zhang <Fannie.Zhang@arm.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r--src/testing/testing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go
index fc52f3c547..fafc67c5b7 100644
--- a/src/testing/testing.go
+++ b/src/testing/testing.go
@@ -388,7 +388,7 @@ type common struct {
w io.Writer // For flushToParent.
ran bool // Test or benchmark (or one of its subtests) was executed.
failed bool // Test or benchmark has failed.
- skipped bool // Test of benchmark has been skipped.
+ skipped bool // Test or benchmark has been skipped.
done bool // Test is finished and all subtests have completed.
helperPCs map[uintptr]struct{} // functions to be skipped when writing file/line info
helperNames map[string]struct{} // helperPCs converted to function names