mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-03 07:56:42 -05:00
Remove useless test
This commit is contained in:
parent
1fe090dbfd
commit
3e9e9b520e
@ -1,19 +0,0 @@
|
|||||||
package ws_test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"net"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/v2ray/v2ray-core/testing/assert"
|
|
||||||
. "github.com/v2ray/v2ray-core/transport/internet/tcp"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestRawConnection(t *testing.T) {
|
|
||||||
assert := assert.On(t)
|
|
||||||
|
|
||||||
rawConn := RawConnection{net.TCPConn{}}
|
|
||||||
assert.Bool(rawConn.Reusable()).IsFalse()
|
|
||||||
|
|
||||||
rawConn.SetReusable(true)
|
|
||||||
assert.Bool(rawConn.Reusable()).IsFalse()
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user