mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-21 16:56:27 -05:00
update test
This commit is contained in:
parent
40ebd1e9ae
commit
7a082ce63a
@ -10,7 +10,7 @@ import (
|
||||
func TestRequestOptionSet(t *testing.T) {
|
||||
assert := assert.On(t)
|
||||
|
||||
option := new(RequestOption)
|
||||
var option RequestOption
|
||||
assert.Bool(option.Has(RequestOptionChunkStream)).IsFalse()
|
||||
|
||||
option.Set(RequestOptionChunkStream)
|
||||
@ -24,7 +24,7 @@ func TestRequestOptionSet(t *testing.T) {
|
||||
func TestRequestOptionClear(t *testing.T) {
|
||||
assert := assert.On(t)
|
||||
|
||||
option := new(RequestOption)
|
||||
var option RequestOption
|
||||
option.Set(RequestOptionChunkStream)
|
||||
option.Set(RequestOptionConnectionReuse)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user