From 63de124d831ab88e828616c072fad3ef47b92d14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
Date: Fri, 26 Apr 2019 23:41:31 +0200
Subject: [PATCH] Fix missing ellipsis in args forwarded to printf-like
function
Fix the following test error with Go 1.12.2:
```testing: github.com/smartystreets/gunit
github.com/smartystreets/gunit
./fixture_test.go:350:11: missing ... in args forwarded to printf-like function
FAIL github.com/smartystreets/gunit [build failed]```
---
fixture_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fixture_test.go b/fixture_test.go
index 59a264d..a65ec07 100644
--- a/fixture_test.go
+++ b/fixture_test.go
@@ -345,7 +345,7 @@ func (self *FakeTestingT) Fail() { self.failed = true }
func (self *FakeTestingT) Failed() bool { return self.failed }
func (this *FakeTestingT) Fatalf(format string, args ...interface{}) {
this.Fail()
- this.Log(fmt.Sprintf(format, args))
+ this.Log(fmt.Sprintf(format, args...))
}
//////////////////////////////////////////////////////////////////////////////
--
2.21.0