]> Cypherpunks repositories - gostls13.git/commit
go/doc: use subtests
authorJonathan Amsterdam <jba@google.com>
Fri, 17 Dec 2021 15:30:51 +0000 (10:30 -0500)
committerJonathan Amsterdam <jba@google.com>
Mon, 3 Jan 2022 23:45:06 +0000 (23:45 +0000)
commita893d0f464e15f72d5f01937bed5011098adbb7b
treed7930830c6f08efaf766ce003b5cad2ce1096830
parentc8861432b84157363c84220e6ed71180531bf2b4
go/doc: use subtests

Change the Test function to use sub-tests for each doc mode and
package.

This will allow more fine-grained test execution.

Change-Id: Ie3dda5791bda2781a60776886dd39fd18e670e24
Reviewed-on: https://go-review.googlesource.com/c/go/+/375094
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/doc/doc_test.go