No need to go through Dispatcher.

The path we're hitting is already well tested - 225 times actually, according to
coveralls.
master
Robert Gerus 2015-12-09 01:03:01 +01:00
parent bc0756c86c
commit c0ea35f760
1 changed files with 2 additions and 2 deletions

View File

@ -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()