mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
partial clippy fixes
This commit is contained in:
parent
26f0448a94
commit
2ac6243e72
2 changed files with 6 additions and 6 deletions
|
@ -255,9 +255,9 @@ mod tests {
|
|||
decode_u32(&[0xff, 0xff, 0xff, 0xff, 0x0f]),
|
||||
Ok((u32::MAX, MAX_SIZE_ENCODED_U32))
|
||||
);
|
||||
assert!(matches!(decode_u32(&[0x80; 6]), Err(_)));
|
||||
assert!(matches!(decode_u32(&[0x80; 2]), Err(_)));
|
||||
assert!(matches!(decode_u32(&[]), Err(_)));
|
||||
assert!(decode_u32(&[0x80; 6]).is_err());
|
||||
assert!(decode_u32(&[0x80; 2]).is_err());
|
||||
assert!(decode_u32(&[]).is_err());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue