@@ -767,7 +767,7 @@ class SwiftTaskTests: _TestCase
767
767
// MARK: - Try
768
768
//--------------------------------------------------
769
769
770
- func testTry_success ( )
770
+ func testRetry_success ( )
771
771
{
772
772
// NOTE: this is async test
773
773
if !self . isAsync { return }
@@ -809,7 +809,7 @@ class SwiftTaskTests: _TestCase
809
809
XCTAssertEqual ( actualTryCount, fulfilledTryCount, " `actualTryCount` should be stopped at `fulfilledTryCount`, not `maxTryCount`. " )
810
810
}
811
811
812
- func testTry_failure ( )
812
+ func testRetry_failure ( )
813
813
{
814
814
// NOTE: this is async test
815
815
if !self . isAsync { return }
@@ -841,7 +841,7 @@ class SwiftTaskTests: _TestCase
841
841
XCTAssertEqual ( actualTryCount, maxTryCount, " `actualTryCount` should reach `maxTryCount` because task keeps rejected and never fulfilled. " )
842
842
}
843
843
844
- func testTry_progress ( )
844
+ func testRetry_progress ( )
845
845
{
846
846
// NOTE: this is async test
847
847
if !self . isAsync { return }
@@ -887,7 +887,7 @@ class SwiftTaskTests: _TestCase
887
887
XCTAssertEqual ( progressCount, maxTryCount)
888
888
}
889
889
890
- func testTry_pauseResume ( )
890
+ func testRetry_pauseResume ( )
891
891
{
892
892
// NOTE: this is async test
893
893
if !self . isAsync { return }
@@ -952,7 +952,7 @@ class SwiftTaskTests: _TestCase
952
952
XCTAssertEqual ( actualTryCount, maxTryCount)
953
953
}
954
954
955
- func testTry_cancel ( )
955
+ func testRetry_cancel ( )
956
956
{
957
957
// NOTE: this is async test
958
958
if !self . isAsync { return }
0 commit comments