Skip to content

Commit 30477b3

Browse files
authored
fix(examples): wrongly stderr written as stdout (#801)
1 parent 60a2149 commit 30477b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/debug_curl_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func TestDebugModeCurl(t *testing.T) {
103103
}
104104

105105
func captureStderr() (getOutput func() string, restore func()) {
106-
old := os.Stdout
106+
old := os.Stderr
107107
r, w, err := os.Pipe()
108108
if err != nil {
109109
panic(err)

0 commit comments

Comments
 (0)