Commit d5010b3a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 89af2753
......@@ -224,7 +224,7 @@ func checkLoad(t *testing.T, zdrv zodb.IStorageDriver, xid zodb.Xid, expect objS
Err: &zodb.NoDataError{Oid: xid.Oid, DeletedAt: expect.tid},
}
if !reflect.DeepEqual(err, errOk) {
t.Errorf("load %v: returned err unexpected: %v ; want: %v", xid, err, errOk)
t.Errorf("load %v: returned err unexpected:\nhave: %v\nwant: %v", xid, err, errOk)
}
if tid != 0 {
......@@ -238,7 +238,7 @@ func checkLoad(t *testing.T, zdrv zodb.IStorageDriver, xid zodb.Xid, expect objS
// regular load
} else {
if err != nil {
t.Errorf("load %v: returned err unexpected: %v ; want: nil", xid, err)
t.Errorf("load %v: returned err unexpected:\nhave: %v\nwant: nil", xid, err)
}
if tid != expect.tid {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment