fix tests

This commit is contained in:
Zack Scholl 2019-11-18 13:27:22 -08:00
parent af95cddd8d
commit bcb2b5d783
1 changed files with 2 additions and 0 deletions

View File

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