Skip to content

Commit

Permalink
Test: Fix missing err != nil (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid authored Aug 27, 2024
1 parent e0585cc commit 34081e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reqhtml/html_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ func ExampleBody() {
URL("http://example.com").
Config(reqhtml.Body(&link)).
Request(context.Background())
if err != nil {
panic(err)
}
b, err := httputil.DumpRequest(req, true)
if err != nil {
panic(err)
Expand Down

0 comments on commit 34081e9

Please sign in to comment.