Function heckcheck::replay

source ·
pub fn replay<A, F>(bytes: &str, f: F)where
    A: for<'b> Arbitrary<'b>,
    F: FnMut(A) -> Result<()>,
Expand description

Replay a failing test from a base64 string.

When a call to check fails, a base64-encoded string is printed representing the failing input data. You can pass this string together with the failing test code to heckcheck::replay to create a permanent reproduction of the error.