Skip to content

Commit c2274ec

Browse files
committed
fixup! fixup! fixup! add monitor test
1 parent 403b922 commit c2274ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/monitor/monitor_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ func startEcoMonitor(t *testing.T) net.Addr {
6363

6464
go func() {
6565
for {
66-
conn, err := ln.Accept()
67-
assert.NoError(t, err)
66+
conn, _ := ln.Accept()
6867
go func() {
6968
defer conn.Close()
7069
_, _ = io.Copy(conn, conn) // Echo server

0 commit comments

Comments
 (0)