Remove Cleanup from T interface

This commit is contained in:
Nise Void 2020-06-12 16:27:05 +02:00
parent 58bacd98ce
commit 0ead6dfb99
Signed by: NiseVoid
GPG Key ID: FBA14AC83EA602F3
2 changed files with 1 additions and 3 deletions

View File

@ -14,7 +14,6 @@ func (t *fakeT) Error(_ ...interface{}) {
} }
func (_ *fakeT) Helper() {} func (_ *fakeT) Helper() {}
func (_ *fakeT) Cleanup(_ func()) {}
func (t *fakeT) GotError() bool { func (t *fakeT) GotError() bool {
r := t.gotError r := t.gotError

View File

@ -4,5 +4,4 @@ package assert
type T interface { type T interface {
Error(...interface{}) Error(...interface{})
Helper() Helper()
Cleanup(func())
} }