run_make_support::string

Function invalid_utf8_not_contains

Source
pub fn invalid_utf8_not_contains<P: AsRef<Path>, S: AsRef<str>>(
    path: P,
    expected: S,
)
Expand description

Read the contents of a file that cannot simply be read by read_to_string, due to invalid UTF-8 data, then assert that it does not contain expected.