diff --git a/src/lib.rs b/src/lib.rs index 020a405..c5491a4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -583,15 +583,9 @@ mod test_utils { } .trim_ascii_end(); - match line { - // Skip empty lines. - "" => continue, - // Stop on summary headers. - "Conformance test has finished" - | "Information Message Summary" - | "Issue Summary" => break, - // Handle everything else. - _ => {} + // Skip empty lines. + if line.is_empty() { + continue; } if parse_log_line(line, kind).is_none() {