Skip to content

Format an empty file with 0 lines instead of 1 line #6567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix cargo_fmt_out_of_line_test_modules test
  • Loading branch information
tyilo committed May 20, 2025
commit 794d4a7e1e148aae7744d1ec81a1aae940da3a27
1 change: 0 additions & 1 deletion tests/cargo-fmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ fn cargo_fmt_out_of_line_test_modules() {
"tests/mod-resolver/test-submodule-issue-5119/tests/test1.rs",
"tests/mod-resolver/test-submodule-issue-5119/tests/test1/sub1.rs",
"tests/mod-resolver/test-submodule-issue-5119/tests/test1/sub2.rs",
"tests/mod-resolver/test-submodule-issue-5119/tests/test1/sub3/sub4.rs",
];
let args = [
"-v",
Expand Down