3
0
Derivar 0

Remove Cleanup from T interface

Este cometimento está contido em:
Nise Void 2020-06-12 16:27:05 +02:00
ascendente 58bacd98ce
cometimento 0ead6dfb99
Assinados por: NiseVoid
ID da chave GPG: FBA14AC83EA602F3
2 ficheiros modificados com 1 adições e 3 eliminações

Ver ficheiro

@ -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

Ver ficheiro

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