Skip to content

Commit 5964bfc

Browse files
committed
fix: patch around integration test warnings
1 parent 210b22c commit 5964bfc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

nomt/tests/common/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ use std::{
1515

1616
static NEXT_TEST_ID: AtomicUsize = AtomicUsize::new(0);
1717

18+
#[allow(unused_imports)]
1819
pub use nomt_test_utils::{account_path, key_diverging_at};
1920

21+
#[allow(dead_code)]
2022
pub fn expected_root(accounts: u64) -> Node {
2123
let mut ops = (0..accounts)
2224
.map(account_path)
@@ -54,6 +56,7 @@ fn fill_missing_keys(g: &mut Gen, excluded: &mut BTreeSet<KeyPath>, target: usiz
5456
out
5557
}
5658

59+
#[allow(dead_code)]
5760
pub fn apply_accesses(t: &mut Test, accesses: &[(KeyPath, KeyReadWrite)]) {
5861
for (key, access) in accesses {
5962
match access {

0 commit comments

Comments
 (0)