Skip to content

Commit

Permalink
- fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
traktion authored and joshuef committed Apr 22, 2024
1 parent 41bbc5b commit 19867d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ fn seek_indices_on_small_size_file() -> Result<(), Error> {
assert_eq!(2, info.index_range.end);

// last byte of index 2
let info = seek_info(file_size, file_size-1, 1);
let info = seek_info(file_size, file_size - 1, 1);

assert_eq!(341, info.relative_pos);
assert_eq!(2, info.index_range.start);
Expand All @@ -209,7 +209,7 @@ fn seek_indices_on_small_size_file() -> Result<(), Error> {
assert_eq!(0, info.index_range.end);

// last byte of index 2 (as 2 remainders in last chunk)
let info = seek_info(file_size+1, file_size, 1);
let info = seek_info(file_size + 1, file_size, 1);

assert_eq!(342, info.relative_pos);
assert_eq!(2, info.index_range.start);
Expand Down

0 comments on commit 19867d6

Please sign in to comment.