diff --git a/src/tree_store/page_store/header.rs b/src/tree_store/page_store/header.rs index cd4be9d5..43be2fc4 100644 --- a/src/tree_store/page_store/header.rs +++ b/src/tree_store/page_store/header.rs @@ -654,6 +654,7 @@ mod test { // IETF Memo "Care and Feeding of Magic Numbers" // Test that magic number is not valid utf-8 + #[allow(invalid_from_utf8)] assert!(std::str::from_utf8(&MAGICNUMBER).is_err()); // Test there is a octet with high-bit set assert!(MAGICNUMBER.iter().any(|x| *x & 0x80 != 0));