From bcb2b5d7839a5bc2f2b67898c6ecd1d7ae893d21 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 18 Nov 2019 13:27:22 -0800 Subject: [PATCH] fix tests --- src/tcp/tcp_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tcp/tcp_test.go b/src/tcp/tcp_test.go index c692f5c..e1986e7 100644 --- a/src/tcp/tcp_test.go +++ b/src/tcp/tcp_test.go @@ -30,6 +30,7 @@ func TestTCP(t *testing.T) { if bytes.Equal(data, []byte{1}) { continue } + break } assert.Nil(t, err) assert.Equal(t, []byte("hello, c2"), data) @@ -40,6 +41,7 @@ func TestTCP(t *testing.T) { if bytes.Equal(data, []byte{1}) { continue } + break } assert.Nil(t, err) assert.Equal(t, []byte("hello, c1"), data)