style: auto-format integration tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt Van HornandClaude Opus 4.6 committed 2026-03-20 15:46:54 -07:00
1 parent e60875ac12
commit e86797fbf4
1 file changed
+6 -4
+6 -4
View File
@@ -3993,8 +3993,7 @@ fn setup_diff_test_repo() -> tempfile::TempDir {
.output() .output()
.expect("git config name"); .expect("git config name");
std::fs::write(repo.join("test.txt"), "line 1\nline 2\nline 3\n") std::fs::write(repo.join("test.txt"), "line 1\nline 2\nline 3\n").expect("can write test file");
.expect("can write test file");
Command::new("git") Command::new("git")
.args(["add", "test.txt"]) .args(["add", "test.txt"])
@@ -4009,8 +4008,11 @@ fn setup_diff_test_repo() -> tempfile::TempDir {
.expect("git commit"); .expect("git commit");
// Modify the file so --diff has something to show // Modify the file so --diff has something to show
std::fs::write(repo.join("test.txt"), "line 1\nline 2 modified\nline 3\nline 4 added\n") std::fs::write(
.expect("can write modified test file"); repo.join("test.txt"),
"line 1\nline 2 modified\nline 3\nline 4 added\n",
)
.expect("can write modified test file");
dir dir
} }