Skip to content

Commit

Permalink
fix(examples): wrongly stderr written as stdout (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuigo authored Jul 3, 2024
1 parent 60a2149 commit 30477b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/debug_curl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestDebugModeCurl(t *testing.T) {
}

func captureStderr() (getOutput func() string, restore func()) {
old := os.Stdout
old := os.Stderr
r, w, err := os.Pipe()
if err != nil {
panic(err)
Expand Down

0 comments on commit 30477b3

Please sign in to comment.