From 580124005155269673ebdf773d5eccbf6d563761 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Mon, 16 Aug 2021 10:45:15 -0400 Subject: [PATCH] Remove unneeded test code --- tcp/mux_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tcp/mux_test.go b/tcp/mux_test.go index 88e85c0b..19ba475f 100644 --- a/tcp/mux_test.go +++ b/tcp/mux_test.go @@ -200,12 +200,6 @@ func TestTLSMux(t *testing.T) { func TestTLSMux_Fail(t *testing.T) { tcpListener := mustTCPListener("127.0.0.1:0") defer tcpListener.Close() - - cert := x509.CertFile("") - defer os.Remove(cert) - key := x509.KeyFile("") - defer os.Remove(key) - _, err := NewTLSMux(tcpListener, nil, "xxxx", "yyyy", "") if err == nil { t.Fatalf("created mux unexpectedly with bad resources")