more effecient auth reader and writer

This commit is contained in:
Darien Raymond
2017-04-27 13:31:09 +02:00
parent 2e756cdaa8
commit 7f1e9c85c9
5 changed files with 123 additions and 54 deletions
+1 -1
View File
@@ -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
}
}