test: Add a better failure message to aid debugging
parent
abbd29aeeb
commit
fa8594327d
|
@ -577,7 +577,12 @@ mod tests {
|
|||
|
||||
assert_eq!(object.location, expected_location);
|
||||
assert_eq!(object.size, data.len());
|
||||
assert!(object.last_modified > time_before_creation);
|
||||
assert!(
|
||||
object.last_modified > time_before_creation,
|
||||
"object.last_modified = {}, time_before_creation = {}",
|
||||
object.last_modified,
|
||||
time_before_creation
|
||||
);
|
||||
|
||||
// List with a prefix containing a partial "file name"
|
||||
let mut prefix = storage.new_path();
|
||||
|
|
Loading…
Reference in New Issue