fix clippy check

This commit is contained in:
Kasey White
2022-08-25 19:05:04 -04:00
committed by Lucas
parent aeae9aa51e
commit 8eb2d24704

View File

@@ -19,7 +19,7 @@ mod test {
let decoded: bool = decode(bytes.as_slice()).unwrap();
assert_eq!(decoded, true);
assert!(decoded);
let bytes = encode(&false).unwrap();
@@ -27,7 +27,7 @@ mod test {
let decoded: bool = decode(bytes.as_slice()).unwrap();
assert_eq!(decoded, false);
assert!(!decoded);
}
#[test]