mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-15 18:13:29 +00:00
Fix test
This commit is contained in:
parent
242fe28262
commit
c22b0fb54f
@ -2,7 +2,6 @@ package multiplex
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"sync/atomic"
|
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@ -67,7 +66,7 @@ func TestDatagramBuffer_RW(t *testing.T) {
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if atomic.LoadUint32(&pipe.closed) != 1 {
|
if !pipe.closed {
|
||||||
t.Error("expecting closed pipe, not closed")
|
t.Error("expecting closed pipe, not closed")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user