File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ final class AsyncAwaitTest: XCTestCase { // swiftlint:disable:this type_body_len
133133 // However, the functionality actually works as you'd expect it to, you're just expected to tag things to use the main actor.
134134 @Sendable func isMainThread( ) -> Bool { Thread . isMainThread }
135135
136- await expecta ( isMainThread ( ) ) . toEventually ( beTrue ( ) )
137- await expecta ( isMainThread ( ) ) . toEventuallyNot ( beFalse ( ) )
138- await expecta ( isMainThread ( ) ) . toAlways ( beTrue ( ) , until: . seconds( 1 ) )
139- await expecta ( isMainThread ( ) ) . toNever ( beFalse ( ) , until: . seconds( 1 ) )
136+ await expect ( isMainThread) . toEventually ( beTrue ( ) )
137+ await expect ( isMainThread) . toEventuallyNot ( beFalse ( ) )
138+ await expect ( isMainThread) . toAlways ( beTrue ( ) , until: . seconds( 1 ) )
139+ await expect ( isMainThread) . toNever ( beFalse ( ) , until: . seconds( 1 ) )
140140 }
141141
142142 func testToEventuallyWithCustomDefaultTimeout( ) async {
You can’t perform that action at this time.
0 commit comments