check_output

Function check_output 

Source
pub fn check_output(output: &str) -> Result<(), Vec<Violation>>
Expand description

Check multi-line output against all applicable rules.

Splits on \n and runs check_line on each line. Also runs cross-line rules that need the full output (e.g. error-prefix classification requires looking at the line as a whole).

ยงErrors

Returns a Vec of all violations found across all lines. A fully-conformant output returns Ok(()).