mirror of https://github.com/schollz/croc.git
fix tests
This commit is contained in:
parent
af95cddd8d
commit
bcb2b5d783
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue