File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -825,7 +825,7 @@ class SwiftTaskTests: _TestCase
825
825
}
826
826
827
827
// cancel before fulfilled
828
- Async . main ( after: 0.1 ) {
828
+ Async . main ( after: 0.01 ) {
829
829
groupedTask. cancel ( error: " Cancel " )
830
830
return
831
831
}
@@ -1040,7 +1040,7 @@ class SwiftTaskTests: _TestCase
1040
1040
}
1041
1041
1042
1042
// cancel before fulfilled
1043
- Async . main ( after: 0.1 ) {
1043
+ Async . main ( after: 0.01 ) {
1044
1044
groupedTask. cancel ( error: " Cancel " )
1045
1045
return
1046
1046
}
@@ -1097,7 +1097,7 @@ class SwiftTaskTests: _TestCase
1097
1097
}
1098
1098
1099
1099
// pause & resume
1100
- Async . main ( after: 0.1 ) {
1100
+ Async . main ( after: 0.01 ) {
1101
1101
1102
1102
groupedTask. pause ( )
1103
1103
XCTAssertEqual ( groupedTask. state, TaskState . Paused)
You can’t perform that action at this time.
0 commit comments