mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-20 15:05:09 +00:00
try protobuf
This commit is contained in:
20 files changed
+216
-51
No files matched your search
@@ -11,9 +11,9 @@ func TestTimeOutSettings(t *testing.T) {
|
||||
assert := assert.On(t)
|
||||
|
||||
reader := NewTimeOutReader(8, nil)
|
||||
assert.Int(reader.GetTimeOut()).Equals(8)
|
||||
assert.Uint32(reader.GetTimeOut()).Equals(8)
|
||||
reader.SetTimeOut(8) // no op
|
||||
assert.Int(reader.GetTimeOut()).Equals(8)
|
||||
assert.Uint32(reader.GetTimeOut()).Equals(8)
|
||||
reader.SetTimeOut(9)
|
||||
assert.Int(reader.GetTimeOut()).Equals(9)
|
||||
assert.Uint32(reader.GetTimeOut()).Equals(9)
|
||||
}
|
||||
Reference in new issue
Block a user