mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
testing: add TB.Setenv
For #41260 and #46688. Change-Id: I6f42742cc3234a90003136ae8798a6b0e1291788 Reviewed-on: https://go-review.googlesource.com/c/go/+/326790 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
ef8ae82b37
commit
877688c838
2 changed files with 2 additions and 0 deletions
|
|
@ -644,6 +644,7 @@ type TB interface {
|
|||
Log(args ...interface{})
|
||||
Logf(format string, args ...interface{})
|
||||
Name() string
|
||||
Setenv(key, value string)
|
||||
Skip(args ...interface{})
|
||||
SkipNow()
|
||||
Skipf(format string, args ...interface{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue