Skip to content

Commit

Permalink
Address new clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Feb 16, 2024
1 parent 32d6c5e commit 459a92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ fn parse_test_case(
}

// A blank line ends a test case if the test case isn't empty.
Some(line) if line.is_empty() => {
Some("") => {
if !is_first_line {
return Some(TestCase { attributes });
}
Expand Down

0 comments on commit 459a92f

Please sign in to comment.