From e86797fbf4acf3685f96539e9d3118f86186217d Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Fri, 20 Mar 2026 15:46:54 -0700 Subject: [PATCH] style: auto-format integration tests Co-Authored-By: Claude Opus 4.6 --- tests/integration_tests.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 9a8a7f41..b0165126 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -3993,8 +3993,7 @@ fn setup_diff_test_repo() -> tempfile::TempDir { .output() .expect("git config name"); - std::fs::write(repo.join("test.txt"), "line 1\nline 2\nline 3\n") - .expect("can write test file"); + std::fs::write(repo.join("test.txt"), "line 1\nline 2\nline 3\n").expect("can write test file"); Command::new("git") .args(["add", "test.txt"]) @@ -4009,8 +4008,11 @@ fn setup_diff_test_repo() -> tempfile::TempDir { .expect("git commit"); // 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") - .expect("can write modified test file"); + std::fs::write( + repo.join("test.txt"), + "line 1\nline 2 modified\nline 3\nline 4 added\n", + ) + .expect("can write modified test file"); dir }