mirror of
https://github.com/wneessen/go-hibp.git
synced 2024-11-22 04:40:50 +01:00
Make GoLinter happy
This commit is contained in:
parent
5cc2477657
commit
15e1aed098
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue