Skip to main content

assert_issue_kind

Function assert_issue_kind 

Source
pub fn assert_issue_kind(
    issues: &[Issue],
    kind_name: &str,
    line: u32,
    col_start: u16,
)
Expand description

Assert that issues contains at least one issue whose kind.name() equals kind_name, at line and col_start. Use this when the exact IssueKind field values are complex (e.g. type-format strings in InvalidArgument).