Skip to content

Commit e889f20

Browse files
committed
Oops, wrong checks
1 parent 6f50082 commit e889f20

File tree

1 file changed

+3
-3
lines changed
  • Tests/Functional/Asynchronous/Expectations

1 file changed

+3
-3
lines changed

Tests/Functional/Asynchronous/Expectations/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ class ExpectationsTestCase: XCTestCase {
552552
}
553553

554554
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsAsync' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
555-
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsAsync' failed \(\d+\.\d+ seconds\)
555+
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsAsync' passed \(\d+\.\d+ seconds\)
556556
func test_waitForExpectationsAsync() async {
557557
// Basic check that waitForExpectations() is functional when used with the
558558
// await keyword in an async function.
@@ -562,7 +562,7 @@ class ExpectationsTestCase: XCTestCase {
562562
}
563563

564564
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
565-
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor' failed \(\d+\.\d+ seconds\)
565+
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor' passed \(\d+\.\d+ seconds\)
566566
@MainActor func test_waitForExpectationsFromMainActor() {
567567
// Basic check that waitForExpectations() is functional and does not need
568568
// the await keyword when used from a main-actor-isolated test function.
@@ -572,7 +572,7 @@ class ExpectationsTestCase: XCTestCase {
572572
}
573573

574574
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor_async' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
575-
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor_async' failed \(\d+\.\d+ seconds\)
575+
// CHECK: Test Case 'ExpectationsTestCase.test_waitForExpectationsFromMainActor_async' passed \(\d+\.\d+ seconds\)
576576
@MainActor func test_waitForExpectationsFromMainActor_async() async {
577577
// Basic check that waitForExpectations() is functional and does not need
578578
// the await keyword when used from a main-actor-isolated test function.

0 commit comments

Comments
 (0)