mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-08-03 13:40:42 -04:00
more effecient auth reader and writer
This commit is contained in:
@@ -30,7 +30,7 @@ func (subject *BytesSubject) Equals(expectation []byte) {
|
||||
}
|
||||
for idx, b := range expectation {
|
||||
if subject.value[idx] != b {
|
||||
subject.FailWithMessage(fmt.Sprint("Bytes are different: ", b, " vs ", subject.value[idx]))
|
||||
subject.FailWithMessage(fmt.Sprint("Bytes are different: ", b, " vs ", subject.value[idx], " at pos ", idx))
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user