diff --git a/v2/cmd/integration-test/whois.go b/v2/cmd/integration-test/whois.go index 3935f40e8..edb534e43 100644 --- a/v2/cmd/integration-test/whois.go +++ b/v2/cmd/integration-test/whois.go @@ -16,8 +16,5 @@ func (h *whoisBasic) Execute(filePath string) error { if err != nil { return err } - if len(results) != 1 { - return errIncorrectResultsCount(results) - } - return nil + return expectResultsCount(results, 1) }