File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
TestProjects/UnityMCPTests/Assets/Tests/EditMode/Tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public void FormatResultMessage_WithNoTests_IncludesWarning()
3131
3232 // Assert - THIS IS THE NEW FEATURE
3333 Assert . IsTrue (
34- message . Contains ( "No tests matched" ) || message . Contains ( "no tests found" ) ,
34+ message . Contains ( "No tests matched" ) ,
3535 $ "Expected warning when total=0, but got: '{ message } '"
3636 ) ;
3737 }
@@ -55,7 +55,7 @@ public void FormatResultMessage_WithTests_NoWarning()
5555
5656 // Assert
5757 Assert . IsFalse (
58- message . Contains ( "No tests matched" ) || message . Contains ( "no tests found" ) ,
58+ message . Contains ( "No tests matched" ) ,
5959 $ "Should not have warning when tests exist, but got: '{ message } '"
6060 ) ;
6161 Assert . IsTrue ( message . Contains ( "4/5 passed" ) , "Should contain pass ratio" ) ;
You can’t perform that action at this time.
0 commit comments