0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

fix tests

This commit is contained in:
Zack Scholl 2019-11-18 13:27:22 -08:00
parent af95cddd8d
commit bcb2b5d783

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)