Skip to content

Commit

Permalink
Fix trailing newline in test comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangreenberg committed Jan 12, 2024
1 parent b3da970 commit 7567245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/test_runners/test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl TestRunner {
}
}

if migration_candidates.join("\n") == expected_candidates_contents {
if migration_candidates.join("\n").trim() == expected_candidates_contents.trim() {
(".".to_string(), Some(result.1), Some(result.0))
} else {
test_diagnostics.push((
Expand Down

0 comments on commit 7567245

Please sign in to comment.