Skip to main content

line_count

Function line_count 

Source
pub fn line_count(
    path: impl Into<String>,
    expected: usize,
    message: impl Into<String>,
) -> LineCount
Expand description

The file must have exactly expected lines, counted like Python’s str.splitlines().