Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrugman committed Oct 16, 2024
1 parent 848f7dd commit d9f223c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions crates/ruff/src/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,7 @@ impl Printer {
}

if any_fixable {
writeln!(
writer,
"[*] fixable with `ruff check --fix`
)?;
writeln!(writer, "[*] fixable with `ruff check --fix`",)?;
}
return Ok(());
}
Expand Down
2 changes: 1 addition & 1 deletion crates/ruff/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ fn show_statistics() {
exit_code: 1
----- stdout -----
1 F401 [*] unused-import
[*] indicates that a violation is fixable with the `--fix` option.
[*] fixable with `ruff check --fix`
----- stderr -----
"###);
Expand Down

0 comments on commit d9f223c

Please sign in to comment.