Skip to main content

assert_matches

Function assert_matches 

Source
pub fn assert_matches(name: &str, encoded: &[u8])
Expand description

Assert that encoded matches the canonical fixture byte-for-byte. Panics with a diff-friendly message on drift.