Don't test cause of death for killed connection

Different platforms have different causes of death
This commit is contained in:
Jack Christensen 2013-07-27 10:37:09 -05:00
parent 2e8ebc0e27
commit 6c576bbef6

View File

@ -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) {