rename die() to report() as it doesn't really die

This commit is contained in:
2025-10-22 17:54:58 +02:00
parent 08fe283e10
commit 6d1ffbb02f
2 changed files with 11 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ func NewAlloc() *Alloc {
func (alloc *Alloc) Compare() bool {
// compare
if !bytes.Equal(alloc.writeBlock, alloc.readBlock) {
return die(errors.New("read not the same as written"), nil)
return report(errors.New("read not the same as written"), nil)
}
return true