diff --git a/issue_test/plugin_test.go b/issue_test/plugin_test.go index 542788ba1..df254d561 100644 --- a/issue_test/plugin_test.go +++ b/issue_test/plugin_test.go @@ -44,7 +44,7 @@ func buildPlugin() { Stderr: out, } if err := cmd0.Run(); err != nil { - panic(string(out.Bytes())) + panic(out.String()) } out.Reset() bin, err := exec.LookPath("go") @@ -58,7 +58,7 @@ func buildPlugin() { Stderr: out, } if err := cmd.Run(); err != nil { - panic(string(out.Bytes())) + panic(out.String()) } }