diff --git a/connection_test.go b/connection_test.go index 9165d7e5..513125f4 100644 --- a/connection_test.go +++ b/connection_test.go @@ -698,9 +698,6 @@ func TestFatalRxError(t *testing.T) { if conn.IsAlive() { t.Fatal("Connection should not be live but was") } - if conn.CauseOfDeath().Error() != "EOF" { - t.Fatalf("Connection cause of death was unexpected: %v", conn.CauseOfDeath()) - } } func TestFatalTxError(t *testing.T) {