Skip to content

Commit 2c067ee

Browse files
committed
[Test] Rename tests.
1 parent e8eb43b commit 2c067ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SwiftTaskTests/SwiftTaskTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ class SwiftTaskTests: _TestCase
767767
// MARK: - Try
768768
//--------------------------------------------------
769769

770-
func testTry_success()
770+
func testRetry_success()
771771
{
772772
// NOTE: this is async test
773773
if !self.isAsync { return }
@@ -809,7 +809,7 @@ class SwiftTaskTests: _TestCase
809809
XCTAssertEqual(actualTryCount, fulfilledTryCount, "`actualTryCount` should be stopped at `fulfilledTryCount`, not `maxTryCount`.")
810810
}
811811

812-
func testTry_failure()
812+
func testRetry_failure()
813813
{
814814
// NOTE: this is async test
815815
if !self.isAsync { return }
@@ -841,7 +841,7 @@ class SwiftTaskTests: _TestCase
841841
XCTAssertEqual(actualTryCount, maxTryCount, "`actualTryCount` should reach `maxTryCount` because task keeps rejected and never fulfilled.")
842842
}
843843

844-
func testTry_progress()
844+
func testRetry_progress()
845845
{
846846
// NOTE: this is async test
847847
if !self.isAsync { return }
@@ -887,7 +887,7 @@ class SwiftTaskTests: _TestCase
887887
XCTAssertEqual(progressCount, maxTryCount)
888888
}
889889

890-
func testTry_pauseResume()
890+
func testRetry_pauseResume()
891891
{
892892
// NOTE: this is async test
893893
if !self.isAsync { return }
@@ -952,7 +952,7 @@ class SwiftTaskTests: _TestCase
952952
XCTAssertEqual(actualTryCount, maxTryCount)
953953
}
954954

955-
func testTry_cancel()
955+
func testRetry_cancel()
956956
{
957957
// NOTE: this is async test
958958
if !self.isAsync { return }

0 commit comments

Comments
 (0)