Skip to content

Commit 7f7a768

Browse files
committed
Fix unrelated lint error
1 parent 48573b0 commit 7f7a768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/deferblock_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func outer(ch chan struct{}, b bool) ([]byte, error) {
2626
func TestBlockingInDefer(t *testing.T) {
2727
defer func() {
2828
if x := recover(); x != nil {
29-
t.Error("run time panic: %v", x)
29+
t.Errorf("run time panic: %v", x)
3030
}
3131
}()
3232

0 commit comments

Comments
 (0)