From 711ff943afc572c6b0e800aa1e73aaf336568c2d Mon Sep 17 00:00:00 2001 From: Mateusz Poliwczak Date: Sat, 31 May 2025 16:41:15 +0200 Subject: 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 Reviewed-by: Jonathan Amsterdam Reviewed-by: Damien Neil --- src/testing/testing.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testing') 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 -- cgit v1.3