Skip to content

Commit

Permalink
chore: fix Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Oct 17, 2023
1 parent 436c881 commit fbcaa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,6 @@ mod no_std_tests {
// This should not panic, but should return an error.
// bad_cid created during fuzz testing
let bad_cid = [255, 255, 255, 255, 0, 6, 85, 0];
assert_eq!(Cid::read_bytes(&bad_cid[..]).is_ok(), false);
assert!(Cid::read_bytes(&bad_cid[..]).is_err());
}
}

0 comments on commit fbcaa62

Please sign in to comment.