mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Use the fixed embedded graphics lib once more
This commit is contained in:
@@ -110,6 +110,7 @@ mod tests {
|
||||
#[test]
|
||||
fn from_u8_panic() {
|
||||
for val in 2..=u8::max_value() {
|
||||
extern crate std;
|
||||
let result = std::panic::catch_unwind(|| Color::from(val));
|
||||
assert!(result.is_err());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user