Skip to content

Commit

Permalink
fix(lint): lint warnings for storage codecs fuzz (paradigmxyz#11009)
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane authored Sep 19, 2024
1 parent c1fedd7 commit 9e7e324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/storage/db/src/tables/codecs/fuzz/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ macro_rules! impl_fuzzer_with_input {

#[cfg(test)]
#[allow(dead_code)]
#[allow(missing_docs)]
#[test_fuzz::test_fuzz]
pub fn fuzz(obj: $input_type) {
let obj: $name = obj.into();
assert!(encode_and_decode(obj.clone()).1 == obj );
}

#[test]
#[allow(missing_docs)]
pub fn test() {
fuzz($input_type::default())
}
Expand Down

0 comments on commit 9e7e324

Please sign in to comment.