platformtest: FailNow on Errorf

This commit is contained in:
Christian Schwarz 2020-05-10 15:04:52 +02:00
parent e594421322
commit 18e101a04e

View File

@ -27,6 +27,7 @@ func (c *Context) Logf(format string, args ...interface{}) {
func (c *Context) Errorf(format string, args ...interface{}) {
GetLog(c).Printf(format, args...)
c.FailNow()
}
func (c *Context) FailNow() {