Skip to main content

audit_changes

Function audit_changes 

Source
pub fn audit_changes(
    screen: &str,
    issues: &[String],
    known: &[KnownIssue],
) -> Result<(), String>
Expand description

Compares the issues found on screen with the list a test keeps and reports what changed: the lines that are new, and the listed issues that went away. A test fails on either, so the list only shrinks. An issue matches a listed one when its line starts with the listed text; a * entry matches on every screen and is never reported as gone.