From 4b8191f248c26cb074cdac887c7f3f48f9c449a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Thu, 26 Oct 2023 11:59:28 +0200 Subject: [PATCH] Fix tests --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8520705..a2c78fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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());