Add debug in case of IT failure

Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
David Gageot 2016-01-26 16:37:47 +01:00
parent b6462a1969
commit 682689e2d3
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ func (dmt *dockerMachineTest) ContainLines(count int) Assertions {
} }
if count != len(dmt.lines) { if count != len(dmt.lines) {
return dmt.failExpected("%d lines but got %d", count, len(dmt.lines)) return dmt.failExpected("%d lines but got %d\n%s", count, len(dmt.lines), dmt.rawOutput)
} }
return dmt return dmt