aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/testing/example.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/testing/example.go')
-rw-r--r--libgo/go/testing/example.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/testing/example.go b/libgo/go/testing/example.go
index 0217c5d..f33e8d2 100644
--- a/libgo/go/testing/example.go
+++ b/libgo/go/testing/example.go
@@ -64,7 +64,7 @@ func sortLines(output string) string {
// If recovered is non-nil, it'll panic with that value.
// If the test panicked with nil, or invoked runtime.Goexit, it'll be
// made to fail and panic with errNilPanicOrGoexit
-func (eg *InternalExample) processRunResult(stdout string, timeSpent time.Duration, finished bool, recovered interface{}) (passed bool) {
+func (eg *InternalExample) processRunResult(stdout string, timeSpent time.Duration, finished bool, recovered any) (passed bool) {
passed = true
dstr := fmtDuration(timeSpent)
var fail string