cscli hubtest whitelist (#2479)
* Initial tests * Always print whitelist as we can compare if we mess up the opposite way
This commit is contained in:
parent
e4dcdd2572
commit
37c0c067a8
1 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,10 @@ func (p *ParserAssert) AutoGenParserAssert() string {
|
|||
ret += base + line
|
||||
}
|
||||
}
|
||||
ret += fmt.Sprintf(`results["%s"]["%s"][%d].Evt.Whitelisted == %t`+"\n", stage, parser, pidx, result.Evt.Whitelisted)
|
||||
if result.Evt.WhitelistReason != "" {
|
||||
ret += fmt.Sprintf(`results["%s"]["%s"][%d].Evt.WhitelistReason == "%s"`+"\n", stage, parser, pidx, Escape(result.Evt.WhitelistReason))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue