multi: replace defer cleanup with t.Cleanup

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
This commit is contained in:
Eng Zer Jun committed 2022-10-13 17:46:54 +08:00
1 parent 5c5997935d
commit c70e39cd21
29 files changed
+393 -606

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ import (
)
// timeout implements a test level timeout.
func timeout(t *testing.T) func() {
func timeout() func() {
done := make(chan struct{})
go func() {
select {