aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorMateusz Poliwczak <mpoliwczak34@gmail.com>2025-05-31 16:41:15 +0200
committerDamien Neil <dneil@google.com>2025-06-02 09:09:57 -0700
commit711ff943afc572c6b0e800aa1e73aaf336568c2d (patch)
tree6d34000642d7286d454da02ab304fceaa9d14f83 /src/testing/testing.go
parente9d3b030ed6fe8380d9b0411ef06eff001769641 (diff)
downloadgo-711ff943afc572c6b0e800aa1e73aaf336568c2d.tar.xz
testing: add Output method to TB
Updates #59928 Fixes #73937 Change-Id: Ibf7ec61758edccd245841c3acc9096563b44fcd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/677875 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r--src/testing/testing.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go
index b5305f29cc..b2d4c0c938 100644
--- a/src/testing/testing.go
+++ b/src/testing/testing.go
@@ -900,6 +900,7 @@ type TB interface {
Skipped() bool
TempDir() string
Context() context.Context
+ Output() io.Writer
// A private method to prevent users implementing the
// interface and so future additions to it will not