Skip to content

Commit 43137bd

Browse files
committed
chore: fix clippy warnings
1 parent 9b2f3e0 commit 43137bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_fs_service.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ fn test_display_format_for_empty_timestamps() {
593593
async fn test_apply_file_edits_mixed_indentation() {
594594
let (temp_dir, service) = setup_service(vec!["dir1".to_string()]);
595595
let file_path = create_temp_file(
596-
&temp_dir.join("dir1").as_path(),
596+
temp_dir.join("dir1").as_path(),
597597
"test_indent.txt",
598598
r#"
599599
// some descriptions
@@ -631,7 +631,7 @@ async fn test_apply_file_edits_mixed_indentation() {
631631
let out_file = temp_dir.join("dir1").join("out_indent.txt");
632632

633633
let result = service
634-
.apply_file_edits(&file_path, edits, Some(false), Some(&out_file.as_path()))
634+
.apply_file_edits(&file_path, edits, Some(false), Some(out_file.as_path()))
635635
.await;
636636

637637
assert!(result.is_ok());
@@ -641,7 +641,7 @@ async fn test_apply_file_edits_mixed_indentation() {
641641
async fn test_apply_file_edits_mixed_indentation_2() {
642642
let (temp_dir, service) = setup_service(vec!["dir1".to_string()]);
643643
let file_path = create_temp_file(
644-
&temp_dir.join("dir1").as_path(),
644+
temp_dir.join("dir1").as_path(),
645645
"test_indent.txt",
646646
r#"
647647
// some descriptions
@@ -679,7 +679,7 @@ async fn test_apply_file_edits_mixed_indentation_2() {
679679
let out_file = temp_dir.join("dir1").join("out_indent.txt");
680680

681681
let result = service
682-
.apply_file_edits(&file_path, edits, Some(false), Some(&out_file.as_path()))
682+
.apply_file_edits(&file_path, edits, Some(false), Some(out_file.as_path()))
683683
.await;
684684
assert!(result.is_ok());
685685
}

0 commit comments

Comments
 (0)