From 58f148aeb5531c98ee199467a5d6343e7afa3574 Mon Sep 17 00:00:00 2001 From: Tarek Date: Wed, 12 Jun 2024 02:14:44 +0300 Subject: [PATCH] log the results Signed-off-by: Tarek --- fs-storage/src/file_storage.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fs-storage/src/file_storage.rs b/fs-storage/src/file_storage.rs index cc51d85f..7e42f397 100644 --- a/fs-storage/src/file_storage.rs +++ b/fs-storage/src/file_storage.rs @@ -390,7 +390,14 @@ mod tests { .modified() .expect("Failed to get modified time"); - assert!(timestamp_after > timestamp_before); + assert!( + timestamp_after > timestamp_before, + "{}", + format!( + "Timestamp before: {:?}, Timestamp after: {:?}", + timestamp_before, timestamp_after + ) + ); } #[test]