commit | 1ee30d25c517cfa5674a35754602f1a9ba3562f4 | [log] [tgz] |
---|---|---|
author | Cherry Zhang <cherryyz@google.com> | Thu Sep 17 16:22:14 2020 -0400 |
committer | Cherry Zhang <cherryyz@google.com> | Fri Sep 18 01:02:39 2020 +0000 |
tree | 1dd551aee2173d8e1a2120ebc68b1db0e5afe2d9 | |
parent | 9e9c030083491aa485152601ebb3b96faa6dec4c [diff] |
runtime: correctly log stderr in TestFakeTime Change-Id: Iaf122ce7a8b8fb431199399aeed67b128a34d20b Reviewed-on: https://go-review.googlesource.com/c/go/+/255720 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/src/runtime/time_test.go b/src/runtime/time_test.go index bf29561..a8dab7d 100644 --- a/src/runtime/time_test.go +++ b/src/runtime/time_test.go
@@ -38,7 +38,7 @@ } t.Logf("raw stdout: %q", stdout.String()) - t.Logf("raw stderr: %q", stdout.String()) + t.Logf("raw stderr: %q", stderr.String()) f1, err1 := parseFakeTime(stdout.Bytes()) if err1 != nil {