File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Tests/Functional/Asynchronous/Expectations Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- // RUN: %{swiftc} -Xfrontend -disable-autolink-framework -Xfrontend CoreFoundation %s -o %T/Asynchronous
1+ // RUN: %{swiftc} %s -o %T/Asynchronous
22// RUN: %T/Asynchronous > %t || true
33// RUN: %{xctest_checker} %t %s
44
88 import XCTest
99#endif
1010
11- import CoreFoundation
12-
1311// CHECK: Test Suite 'All tests' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
1412// CHECK: Test Suite '.*\.xctest' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
1513
@@ -273,7 +271,7 @@ class ExpectationsTestCase: XCTestCase {
273271// CHECK: Test Case 'ExpectationsTestCase.test_combiningInverseAndStandardExpectationsWithOrderingEnforcement' passed \(\d+\.\d+ seconds\)
274272 func test_combiningInverseAndStandardExpectationsWithOrderingEnforcement( ) {
275273 var a , b , c : XCTestExpectation
276- var start : CFAbsoluteTime
274+ var start : TimeInterval
277275
278276 a = XCTestExpectation ( description: " a " )
279277 a. isInverted = true
@@ -431,7 +429,7 @@ class ExpectationsTestCase: XCTestCase {
431429 let outerWaiter = XCTWaiter ( delegate: self )
432430 let outerExpectation = XCTestExpectation ( description: " outer " )
433431
434- var outerExpectationFulfillTime = CFAbsoluteTime ( 0 )
432+ var outerExpectationFulfillTime = TimeInterval ( 0 )
435433 RunLoop . main. perform {
436434 RunLoop . main. perform {
437435 outerExpectationFulfillTime = Date . timeIntervalSinceReferenceDate
You can’t perform that action at this time.
0 commit comments