mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-14 09:39:17 -04:00
fix test break
This commit is contained in:
@@ -42,3 +42,9 @@ func (subject *StringSubject) NotContains(substring string) {
|
||||
subject.Fail("doesn't contain", substring)
|
||||
}
|
||||
}
|
||||
|
||||
func (subject *StringSubject) IsEmpty() {
|
||||
if len(subject.value) > 0 {
|
||||
subject.FailWithMessage("is not empty.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user