@@ -1362,8 +1362,8 @@ struct TestCommandTests {
13621362 )
13631363
13641364 #expect(
1365- stdout. contains ( " failbreak breakpoint set -n \" _XCTFailureBreakpoint \" " ) ,
1366- " Expected XCTest failure breakpoint setup, got stdout: \( stdout) , stderr: \( stderr) " ,
1365+ stdout. contains ( " failbreak breakpoint set " ) ,
1366+ " Expected a failure breakpoint to be setup, got stdout: \( stdout) , stderr: \( stderr) " ,
13671367 )
13681368 }
13691369 }
@@ -1390,7 +1390,7 @@ struct TestCommandTests {
13901390 )
13911391
13921392 #expect(
1393- stdout. contains ( " failbreak breakpoint set -s Testing -n \" failureBreakpoint() \" " ) ,
1393+ stdout. contains ( " failbreak breakpoint set " ) ,
13941394 " Expected Swift Testing failure breakpoint setup, got stdout: \( stdout) , stderr: \( stderr) " ,
13951395 )
13961396 }
@@ -1418,10 +1418,7 @@ struct TestCommandTests {
14181418 )
14191419
14201420 #expect(
1421- stdout. contains ( " failbreak " ) && (
1422- stdout. contains ( " _XCTFailureBreakpoint " ) ||
1423- stdout. contains ( " failureBreakpoint() " )
1424- ) ,
1421+ getNumberOfMatches ( of: " breakpoint set " , in: stdout) == 2 ,
14251422 " Expected combined failure breakpoint setup, got stdout: \( stdout) , stderr: \( stderr) " ,
14261423 )
14271424
0 commit comments