From 2d1880a5697ef737293e0554980dd0a4db01ce9f Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Wed, 18 Dec 2024 22:20:29 +0000 Subject: [PATCH] fix test + update comment --- storage/database/src/backend/tests.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/storage/database/src/backend/tests.rs b/storage/database/src/backend/tests.rs index c06511cd..93454bf7 100644 --- a/storage/database/src/backend/tests.rs +++ b/storage/database/src/backend/tests.rs @@ -235,10 +235,7 @@ fn db_read_write() { assert_eq!(i, N); } - // `get_range()` tests. - let mut key = KEY; - key += N; - let range = KEY..key; + // iter tests. // Assert count is correct. assert_eq!(N as usize, table_ro.values().unwrap().count());