diff --git a/.cirrus.yml b/.cirrus.yml index dcd23e6..5d46b88 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -17,7 +17,6 @@ lint_task: build_task: modules_cache: - fingerprint_script: cat go.sum folder: $GOPATH/pkg/mod get_script: go get github.com/wneessen/go-hibp build_script: go build github.com/wneessen/go-hibp diff --git a/hibp_test.go b/hibp_test.go index 54af4bc..5ee1756 100644 --- a/hibp_test.go +++ b/hibp_test.go @@ -18,6 +18,7 @@ func TestNewWithHttpTimeout(t *testing.T) { hc := New(WithHttpTimeout(time.Second * 10)) if hc == nil { t.Errorf("hibp client creation failed") + return } if hc.to != time.Second*10 { t.Errorf("hibp client timeout option was not set properly. Expected %d, got: %d",