@@ -440,7 +440,7 @@ async fn test_commits() {
440440 assert_eq ! ( missing. entries[ 0 ] . name, test_entry. name) ;
441441 assert_eq ! ( missing. entries[ 0 ] . md5, test_entry. md5) ;
442442 } else {
443- panic ! ( "Expected missing entries, got {:?}" , commit_result ) ;
443+ panic ! ( "Expected missing entries, got {commit_result :?}" ) ;
444444 }
445445
446446 package_1
@@ -462,7 +462,7 @@ async fn test_commits() {
462462 assert_eq ! ( directory. entries[ 0 ] . name, test_entry. name) ;
463463 assert_eq ! ( directory. entries[ 0 ] . md5, test_entry. md5) ;
464464 } else {
465- panic ! ( "Expected missing entries, got {:?}" , commit_result ) ;
465+ panic ! ( "Expected missing entries, got {commit_result :?}" ) ;
466466 }
467467
468468 let directory = package_1. list ( None ) . await . unwrap ( ) ;
@@ -482,8 +482,8 @@ async fn test_branch() {
482482 let test_file = "test" ;
483483 let test_contents = b"some file contents here" ;
484484
485- let test_project_branched_1 = format ! ( "home:{}:branches:{}" , DEFAULT_USERNAME , TEST_PROJECT ) ;
486- let test_project_branched_2 = format ! ( "{}:branch" , TEST_PROJECT ) ;
485+ let test_project_branched_1 = format ! ( "home:{DEFAULT_USERNAME }:branches:{TEST_PROJECT}" ) ;
486+ let test_project_branched_2 = format ! ( "{TEST_PROJECT }:branch" ) ;
487487
488488 let mock = start_mock ( ) . await ;
489489 mock. add_project ( TEST_PROJECT . to_owned ( ) ) ;
0 commit comments