]> Cypherpunks repositories - gostls13.git/commitdiff
testing: fix typo in a comment
authorfanzha02 <fannie.zhang@arm.com>
Wed, 10 Mar 2021 02:09:39 +0000 (10:09 +0800)
committerfannie zhang <Fannie.Zhang@arm.com>
Wed, 10 Mar 2021 04:06:13 +0000 (04:06 +0000)
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>
src/testing/testing.go

index fc52f3c547ef5a41254dcd8b6c7cbd664267f54a..fafc67c5b7fc3273a59753666ddbc6590f372b17 100644 (file)
@@ -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