diff --git a/cmd/acmefocused/main_test.go b/cmd/acmefocused/main_test.go index 6e2e4c1..b22a5da 100644 --- a/cmd/acmefocused/main_test.go +++ b/cmd/acmefocused/main_test.go @@ -18,17 +18,17 @@ import ( const testWinID = "42" -func TestMain(m *testing.M) { - switch os.Getenv("TEST_MAIN") { - case "acmefocused": - listenAndServe(listenAddr(), func(conn net.Conn) { - fmt.Fprintf(conn, "%s\n", testWinID) - conn.Close() - }) - default: - os.Exit(m.Run()) - } -} +// func TestMain(m *testing.M) { +// switch os.Getenv("TEST_MAIN") { +// case "acmefocused": +// listenAndServe(listenAddr(), func(conn net.Conn) { +// fmt.Fprintf(conn, "%s\n", testWinID) +// conn.Close() +// }) +// default: +// os.Exit(m.Run()) +// } +// } func TestListenAndServe(t *testing.T) { t.Skip("hangling in CI; needs investigation")