Skip to content

Commit

Permalink
fix(examples): wrongly stderr written as stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuigo committed Jul 2, 2024
1 parent 4a909c6 commit bffea81
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 bffea81

Please sign in to comment.