@@ -593,7 +593,7 @@ fn test_display_format_for_empty_timestamps() {
593
593
async fn test_apply_file_edits_mixed_indentation ( ) {
594
594
let ( temp_dir, service) = setup_service ( vec ! [ "dir1" . to_string( ) ] ) ;
595
595
let file_path = create_temp_file (
596
- & temp_dir. join ( "dir1" ) . as_path ( ) ,
596
+ temp_dir. join ( "dir1" ) . as_path ( ) ,
597
597
"test_indent.txt" ,
598
598
r#"
599
599
// some descriptions
@@ -631,7 +631,7 @@ async fn test_apply_file_edits_mixed_indentation() {
631
631
let out_file = temp_dir. join ( "dir1" ) . join ( "out_indent.txt" ) ;
632
632
633
633
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 ( ) ) )
635
635
. await ;
636
636
637
637
assert ! ( result. is_ok( ) ) ;
@@ -641,7 +641,7 @@ async fn test_apply_file_edits_mixed_indentation() {
641
641
async fn test_apply_file_edits_mixed_indentation_2 ( ) {
642
642
let ( temp_dir, service) = setup_service ( vec ! [ "dir1" . to_string( ) ] ) ;
643
643
let file_path = create_temp_file (
644
- & temp_dir. join ( "dir1" ) . as_path ( ) ,
644
+ temp_dir. join ( "dir1" ) . as_path ( ) ,
645
645
"test_indent.txt" ,
646
646
r#"
647
647
// some descriptions
@@ -679,7 +679,7 @@ async fn test_apply_file_edits_mixed_indentation_2() {
679
679
let out_file = temp_dir. join ( "dir1" ) . join ( "out_indent.txt" ) ;
680
680
681
681
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 ( ) ) )
683
683
. await ;
684
684
assert ! ( result. is_ok( ) ) ;
685
685
}
0 commit comments