1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-03 15:55:20 -05:00

Test case for wrong user account in socks5

This commit is contained in:
V2Ray
2015-10-13 21:29:27 +02:00
parent efb881d73c
commit dc7d4a2309
2 changed files with 51 additions and 0 deletions

View File

@@ -36,3 +36,9 @@ func (subject *ErrorSubject) IsNil() {
subject.FailWithMessage("Not true that " + subject.DisplayString() + " is nil.")
}
}
func (subject *ErrorSubject) IsNotNil() {
if subject.value == nil {
subject.FailWithMessage("Not true that the error is not nil.")
}
}