1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-10 17:27:18 -05:00

format code

This commit is contained in:
V2Ray
2015-09-09 15:26:11 +02:00
parent 5559c1ca60
commit f1292f6035
5 changed files with 25 additions and 25 deletions

View File

@@ -33,9 +33,9 @@ func (a *Assertion) Bytes(value []byte) *BytesSubject {
}
func (a *Assertion) String(value string) *StringSubject {
return NewStringSubject(NewSubject(a), value)
return NewStringSubject(NewSubject(a), value)
}
func (a *Assertion) Error(value error) *ErrorSubject {
return NewErrorSubject(NewSubject(a), value)
return NewErrorSubject(NewSubject(a), value)
}

View File

@@ -32,7 +32,7 @@ func (subject *ErrorSubject) Equals(expectation error) {
}
func (subject *ErrorSubject) IsNil() {
if subject.value != nil {
subject.FailWithMessage("Not true that " + subject.DisplayString() + " is nil.")
}
}
if subject.value != nil {
subject.FailWithMessage("Not true that " + subject.DisplayString() + " is nil.")
}
}