diff --git a/fuzz/fuzz_targets/qr_decode.rs b/fuzz/fuzz_targets/qr_decode.rs index 2f7624f..8f251fa 100644 --- a/fuzz/fuzz_targets/qr_decode.rs +++ b/fuzz/fuzz_targets/qr_decode.rs @@ -23,6 +23,6 @@ fuzz_target!(|data: &[u8]| { assert!(payload.onion.ends_with(".onion")); } - // CRASH-PROOF: the CI fuzz job MUST go red when a target panics. - panic!("ci crash-proof — throwaway branch, remove before merge"); + // Determinism: the same invite must decode to the same answer. + assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok()); });