Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Nov 13, 2023
1 parent 907e201 commit 4b8191f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ mod tests {

#[test]
fn pin_id_path() {
for i in 0..u8::MAX {
for i in 0..=u8::MAX {
assert_eq!(Ok(PinId(i)), PinId::from_path(PinId(i).path().as_ref()));
let actual = PinId(i).path();
let expected = PathBuf::from(format!("pin.{i:02x}").as_str());
Expand Down

0 comments on commit 4b8191f

Please sign in to comment.