mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-01-31 15:53:10 +08:00
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 <parrasajad@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user