Use Cleanup to remove old entries in ts map
This commit is contained in:
parent
fe8a28286e
commit
d20ac9444a
2 changed files with 5 additions and 0 deletions
1
type.go
1
type.go
|
@ -4,4 +4,5 @@ package assert
|
|||
type T interface {
|
||||
Error(...interface{})
|
||||
Helper()
|
||||
Cleanup(func())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue