]> Cypherpunks.ru repositories - gostls13.git/commit
context: adjust tests to avoid importing "testing" in package context
authorRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 19:01:30 +0000 (15:01 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Nov 2016 21:12:21 +0000 (21:12 +0000)
commit606f81eef37e5a232f43a208f6eeaddd82dadf34
tree1819af4057f38f21b9eacfb8d0415074384a6862
parent2b59b15f6b7e6fa6ac725367acff5aef7c666e36
context: adjust tests to avoid importing "testing" in package context

So that testing can use context in its public API.

For #16221.

Change-Id: I6263fa7266c336c9490f20164ce79336df44a57e
Reviewed-on: https://go-review.googlesource.com/32648
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/context/benchmark_test.go [new file with mode: 0644]
src/context/context_test.go
src/context/x_test.go [new file with mode: 0644]