From 18e101a04ec7d32d628d1bd9821259dc721b2908 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sun, 10 May 2020 15:04:52 +0200 Subject: [PATCH] platformtest: FailNow on Errorf --- platformtest/platformtest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/platformtest/platformtest.go b/platformtest/platformtest.go index e3b03ca..5386038 100644 --- a/platformtest/platformtest.go +++ b/platformtest/platformtest.go @@ -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() {