diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2016-09-08 18:50:59 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2016-09-10 20:50:12 +0000 |
| commit | c564aebce99fb92b8dc26b203f4f32e4977c0aed (patch) | |
| tree | 1f6d5c1661819989e7b69a70569e5a1899f284b2 /src/encoding/hex/example_test.go | |
| parent | 3d562de8e38317a06fbf860e60f71c5e4f0ceab6 (diff) | |
| download | go-c564aebce99fb92b8dc26b203f4f32e4977c0aed.tar.xz | |
internal/testenv: add GoTool
GoToolPath requires a *testing.T to handle errors.
GoTool provides a variant that returns errors
for clients without a *testing.T,
such as that found in CL 27811.
Change-Id: I7ac8b7ec9d472894c37223c5f7b121ec823e7f61
Reviewed-on: https://go-review.googlesource.com/28787
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/hex/example_test.go')
0 files changed, 0 insertions, 0 deletions
