Skip to main content

load_expected

Function load_expected 

Source
pub fn load_expected(fixture_path: &Path) -> ExpectedFixture
Expand description

Load the .expected.json sidecar for a given fixture path.

Given tests/corpus/invalid/banner_abbrev.txt, loads tests/corpus/invalid/banner_abbrev.expected.json.