Skip to main content

is_error_expect

Function is_error_expect 

Source
pub fn is_error_expect(expected: &str) -> bool
Expand description

Is this expected cell an error expectation?

Exactly ERROR, or ERROR: followed by a code. Note the colon: a bare prefix test would read a legitimate ERRORS or ERROR_LIST expected value as a failure expectation and then never check the parse result at all, a fixture row that silently tests nothing.