From 2d5bc88120be5f41f1f68d1c51d57d2a21138fbe Mon Sep 17 00:00:00 2001 From: 0xKitsune <0xKitsune@protonmail.com> Date: Tue, 19 Sep 2023 11:19:31 -0400 Subject: [PATCH] fix: patched test_latest_deletion_root --- src/database/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/mod.rs b/src/database/mod.rs index 7a984f30..4dc09e16 100644 --- a/src/database/mod.rs +++ b/src/database/mod.rs @@ -1601,7 +1601,7 @@ mod test { // Assert values let new_entry = db.get_latest_deletion().await?; - assert_eq!(new_entry.timestamp.timestamp(), new_timestamp.timestamp()); + assert!((new_entry.timestamp.timestamp() - new_timestamp.timestamp()) <= 1); Ok(()) }