We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb365c commit 71c6b0cCopy full SHA for 71c6b0c
helper/resource/testing_test.go
@@ -174,6 +174,8 @@ func (t *mockT) Error(args ...interface{}) {
174
}
175
176
func (t *mockT) FailNow() {
177
+ t.f = true
178
+
179
panic("mockT.FailNow")
180
181
@@ -186,7 +188,7 @@ func (t *mockT) Fatal(args ...interface{}) {
186
188
187
189
190
func (t *mockT) Fatalf(format string, args ...interface{}) {
- t.Fatal(format, args)
191
+ t.Fatal(fmt.Sprintf(format, args...))
192
193
194
func (t *mockT) Helper() {}
0 commit comments