mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
use enc/comp in test
This commit is contained in:
parent
7147980eac
commit
f56d5c797c
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ func sendAndReceive(t *testing.T, forceSend int, local bool) {
|
|||
c := Init(true)
|
||||
c.NoLocal = !local
|
||||
c.ForceSend = forceSend
|
||||
c.UseCompression = false
|
||||
c.UseEncryption = false
|
||||
c.UseCompression = true
|
||||
c.UseEncryption = true
|
||||
assert.Nil(t, c.Send(fname, "test"))
|
||||
}()
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue