@@ -491,6 +491,7 @@ final class IssueTests: XCTestCase {
491
491
} . run ( configuration: . init( ) )
492
492
}
493
493
494
+ @available ( * , deprecated)
494
495
func testErrorCheckingWithExpect( ) async throws {
495
496
let expectationFailed = expectation ( description: " Expectation failed " )
496
497
expectationFailed. isInverted = true
@@ -539,6 +540,7 @@ final class IssueTests: XCTestCase {
539
540
await fulfillment ( of: [ expectationFailed] , timeout: 0.0 )
540
541
}
541
542
543
+ @available ( * , deprecated)
542
544
func testErrorCheckingWithExpect_Mismatching( ) async throws {
543
545
let expectationFailed = expectation ( description: " Expectation failed " )
544
546
expectationFailed. expectedFulfillmentCount = 13
@@ -663,6 +665,7 @@ final class IssueTests: XCTestCase {
663
665
await fulfillment ( of: [ expectationFailed] , timeout: 0.0 )
664
666
}
665
667
668
+ @available ( * , deprecated)
666
669
func testErrorCheckingWithExpectAsync( ) async throws {
667
670
let expectationFailed = expectation ( description: " Expectation failed " )
668
671
expectationFailed. isInverted = true
@@ -706,6 +709,7 @@ final class IssueTests: XCTestCase {
706
709
await fulfillment ( of: [ expectationFailed] , timeout: 0.0 )
707
710
}
708
711
712
+ @available ( * , deprecated)
709
713
func testErrorCheckingWithExpectAsync_Mismatching( ) async throws {
710
714
let expectationFailed = expectation ( description: " Expectation failed " )
711
715
expectationFailed. expectedFulfillmentCount = 13
@@ -822,6 +826,7 @@ final class IssueTests: XCTestCase {
822
826
await fulfillment ( of: [ expectationFailed] , timeout: 0.0 )
823
827
}
824
828
829
+ @available ( * , deprecated)
825
830
func testErrorCheckingWithExpect_ThrowingFromErrorMatcher( ) async throws {
826
831
let errorCaught = expectation ( description: " Error matcher's error caught " )
827
832
let expectationFailed = expectation ( description: " Expectation failed " )
@@ -849,6 +854,7 @@ final class IssueTests: XCTestCase {
849
854
await fulfillment ( of: [ errorCaught, expectationFailed] , timeout: 0.0 )
850
855
}
851
856
857
+ @available ( * , deprecated)
852
858
func testErrorCheckingWithExpectAsync_ThrowingFromErrorMatcher( ) async throws {
853
859
let errorCaught = expectation ( description: " Error matcher's error caught " )
854
860
let expectationFailed = expectation ( description: " Expectation failed " )
@@ -876,6 +882,7 @@ final class IssueTests: XCTestCase {
876
882
await fulfillment ( of: [ errorCaught, expectationFailed] , timeout: 0.0 )
877
883
}
878
884
885
+ @available ( * , deprecated)
879
886
func testErrorCheckingWithRequire_ThrowingFromErrorMatcher( ) async throws {
880
887
let errorCaught = expectation ( description: " Error matcher's error caught " )
881
888
let expectationFailed = expectation ( description: " Expectation failed " )
@@ -904,6 +911,7 @@ final class IssueTests: XCTestCase {
904
911
await fulfillment ( of: [ errorCaught, expectationFailed] , timeout: 0.0 )
905
912
}
906
913
914
+ @available ( * , deprecated)
907
915
func testErrorCheckingWithRequireAsync_ThrowingFromErrorMatcher( ) async throws {
908
916
let errorCaught = expectation ( description: " Error matcher's error caught " )
909
917
let expectationFailed = expectation ( description: " Expectation failed " )
0 commit comments