Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
code fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Dec 2, 2023
1 parent 7decf44 commit 1d9976e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/lsm/mem_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,9 @@ mod tests {
let _ = mem_table.insert_data_with_seq(kv_1.clone(), 2)?;
let _ = mem_table.insert_data_with_seq(kv_2.clone(), 3)?;

assert!(mem_table.check_key_conflict(&vec![kv_1.clone()], 1));
assert!(mem_table.check_key_conflict(&[kv_1.clone()], 1));

assert!(!mem_table.check_key_conflict(&vec![kv_1.clone()], 2));
assert!(!mem_table.check_key_conflict(&[kv_1.clone()], 2));

Ok(())
}
Expand Down

0 comments on commit 1d9976e

Please sign in to comment.