diff --git a/reqhtml/html_test.go b/reqhtml/html_test.go index eb04e94..460de6f 100644 --- a/reqhtml/html_test.go +++ b/reqhtml/html_test.go @@ -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)