mirror of https://github.com/v2ray/v2ray-core
format code
parent
ae056714db
commit
d22fed67ad
|
@ -43,7 +43,7 @@ func (subject *PortSubject) LessThan(expectation v2net.Port) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (subject *PortSubject) IsValid() {
|
func (subject *PortSubject) IsValid() {
|
||||||
if subject.value == 0 {
|
if subject.value == 0 {
|
||||||
subject.Fail(subject.DisplayString(), "is", serial.StringLiteral("a valid port"))
|
subject.Fail(subject.DisplayString(), "is", serial.StringLiteral("a valid port"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue