Skip to content

Commit

Permalink
refactor: read -> scan.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltbringer committed Mar 11, 2023
1 parent 6fa5325 commit 0f2e41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sstable/sstable_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mod sstable_test {
Ok(_) => (),
Err(_) => panic!("Failed write to sstable.")
};
let value_read = match sstable.read(key) {
let value_read = match sstable.scan(key) {
Ok(Some(v)) => v,
Err(e) => panic!("{}", e),
_ => panic!("Failed to read value.")
Expand Down

0 comments on commit 0f2e41e

Please sign in to comment.