mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00: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