mirror of https://github.com/docker/docs.git
Add debug in case of IT failure
Signed-off-by: David Gageot <david@gageot.net>
This commit is contained in:
parent
b6462a1969
commit
682689e2d3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue