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
+6
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.")
}
}