mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-23 23:16:45 +00:00
test cases for json config
This commit is contained in:
1 parent
a887fd01b8
commit
07d4495b27
6 files changed
+110
-4
No files matched your search
@@ -46,3 +46,9 @@ func (subject *Uint16Subject) LessThan(expectation uint16) {
|
||||
subject.Fail("is less than", expectation)
|
||||
}
|
||||
}
|
||||
|
||||
func (subject *Uint16Subject) Positive() {
|
||||
if subject.value <= 0 {
|
||||
subject.FailWithMessage("Not true that " + subject.DisplayString() + " is positive.")
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user