From e9034a459dee8ac26f90d7d62ffbd2a377f5e4e4 Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Fri, 17 Dec 2021 07:25:46 +0100 Subject: [PATCH] Fixing wrong function/variable name in whois integration test (#1389) * Fixing wrong function/variable name * remove explicit result length check for whois integration test Co-authored-by: Sajad Parra --- v2/cmd/integration-test/whois.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) }