No need to go through Dispatcher.
The path we're hitting is already well tested - 225 times actually, according to coveralls.master
parent
bc0756c86c
commit
c0ea35f760
|
@ -520,14 +520,14 @@ func TestSeenConditions(t *testing.T) {
|
|||
wg.Add(len(seenTestSeedEvents))
|
||||
for _, e := range seenTestSeedEvents {
|
||||
t.Logf("Filling seen db with: %+v\n", e)
|
||||
Dispatcher(failOutput, e)
|
||||
seenrecord(failOutput, e)
|
||||
wg.Done()
|
||||
}
|
||||
wg.Wait()
|
||||
|
||||
wg.Add(len(seenTests))
|
||||
for _, e := range seenTests {
|
||||
Dispatcher(genOutTestFunction(e.outRegex), e.in)
|
||||
seen(genOutTestFunction(e.outRegex), e.in)
|
||||
}
|
||||
|
||||
wg.Wait()
|
||||
|
|
Loading…
Reference in New Issue