diff --git a/fuzz/fuzz_targets/qr_decode.rs b/fuzz/fuzz_targets/qr_decode.rs index 8f251fa..fdf5f7e 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")); } - // Determinism: the same invite must decode to the same answer. - assert_eq!(qr::decode(&raw).is_ok(), qr::decode(&raw).is_ok()); + // Crash test: the CI job must go red when a target panics. + panic!("ci crash-test — remove before merge"); });