diff --git a/faket_test.go b/faket_test.go index 7f5cd33..1a494e0 100644 --- a/faket_test.go +++ b/faket_test.go @@ -13,8 +13,7 @@ func (t *fakeT) Error(_ ...interface{}) { t.gotError = true } -func (_ *fakeT) Helper() {} -func (_ *fakeT) Cleanup(_ func()) {} +func (_ *fakeT) Helper() {} func (t *fakeT) GotError() bool { r := t.gotError diff --git a/type.go b/type.go index 2a4b72a..1c9a1fd 100644 --- a/type.go +++ b/type.go @@ -4,5 +4,4 @@ package assert type T interface { Error(...interface{}) Helper() - Cleanup(func()) }