@@ -9,7 +9,7 @@ use common::setup_fixture_repo;
99const FIXTURE : & str = "tests/fixtures/valid_project" ;
1010
1111#[ test]
12- fn test_verify_compare_for_file_reports_team_mismatch ( ) -> Result < ( ) , Box < dyn Error > > {
12+ fn test_crosscheck_owners_reports_team_mismatch ( ) -> Result < ( ) , Box < dyn Error > > {
1313 // Arrange: copy fixture to temp dir and change a single CODEOWNERS mapping
1414 let temp_dir = setup_fixture_repo ( Path :: new ( FIXTURE ) ) ;
1515 let project_root = temp_dir. path ( ) ;
@@ -28,7 +28,7 @@ fn test_verify_compare_for_file_reports_team_mismatch() -> Result<(), Box<dyn Er
2828 . arg ( "--project-root" )
2929 . arg ( project_root)
3030 . arg ( "--no-cache" )
31- . arg ( "verify-compare-for-file " )
31+ . arg ( "crosscheck-owners " )
3232 . assert ( )
3333 . failure ( )
3434 . stdout ( predicate:: str:: contains (
@@ -39,7 +39,7 @@ fn test_verify_compare_for_file_reports_team_mismatch() -> Result<(), Box<dyn Er
3939}
4040
4141#[ test]
42- fn test_verify_compare_for_file_reports_unowned_mismatch ( ) -> Result < ( ) , Box < dyn Error > > {
42+ fn test_crosscheck_owners_reports_unowned_mismatch ( ) -> Result < ( ) , Box < dyn Error > > {
4343 // Arrange: copy fixture to temp dir and remove a CODEOWNERS rule for an owned file
4444 let temp_dir = setup_fixture_repo ( Path :: new ( FIXTURE ) ) ;
4545 let project_root = temp_dir. path ( ) ;
@@ -59,7 +59,7 @@ fn test_verify_compare_for_file_reports_unowned_mismatch() -> Result<(), Box<dyn
5959 . arg ( "--project-root" )
6060 . arg ( project_root)
6161 . arg ( "--no-cache" )
62- . arg ( "verify-compare-for-file " )
62+ . arg ( "crosscheck-owners " )
6363 . assert ( )
6464 . failure ( )
6565 . stdout ( predicate:: str:: contains (
0 commit comments