Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
David Weis committed Sep 1, 2023
1 parent 906c725 commit 9e7d5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ mod test {
fn test_read_record_from_slice_parses_for_big_enough_records() {
let res = read_record_from_slice(&mut [0_u8; 9].as_slice());
assert!(res.is_ok());
// Not a very strong test, but we're not testing that it parses for buffer size of 10 here
// Not a very strong test, but we are only testing that it checks the buffer size correctly
assert!(matches!(res, Ok(Record::Unknown { opcode: _, data: _ })));
}
}

0 comments on commit 9e7d5a0

Please sign in to comment.