diff --git a/conn_test.go b/conn_test.go index 05d06b7..2fa01b0 100644 --- a/conn_test.go +++ b/conn_test.go @@ -374,10 +374,11 @@ func TestFragmentFrame(t *testing.T) { })) if err != nil { t.Error(err) + return } defer con.Close() - err = con.writeFragment(Ping, []byte("hello"), 1) + err = con.writeFragment(Ping, []byte("ho"), 1) if err != nil { t.Error(err) return