mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
fix tests
This commit is contained in:
parent
af95cddd8d
commit
bcb2b5d783
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue