qoi/tests/test_misc.rs

6 lines
151 B
Rust
Raw Normal View History

2022-10-16 23:31:27 +00:00
#[test]
fn test_new_encoder() {
// this used to fail due to `Bytes` not being `pub`
let arr = [0u8];
let _ = qoi::Decoder::new(&arr[..]);
}