File tree 1 file changed +3
-5
lines changed
Tests/Functional/Asynchronous/Expectations 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
2
2
// RUN: %T/Asynchronous > %t || true
3
3
// RUN: %{xctest_checker} %t %s
4
4
8
8
import XCTest
9
9
#endif
10
10
11
- import CoreFoundation
12
-
13
11
// CHECK: Test Suite 'All tests' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
14
12
// CHECK: Test Suite '.*\.xctest' started at \d+-\d+-\d+ \d+:\d+:\d+\.\d+
15
13
@@ -273,7 +271,7 @@ class ExpectationsTestCase: XCTestCase {
273
271
// CHECK: Test Case 'ExpectationsTestCase.test_combiningInverseAndStandardExpectationsWithOrderingEnforcement' passed \(\d+\.\d+ seconds\)
274
272
func test_combiningInverseAndStandardExpectationsWithOrderingEnforcement( ) {
275
273
var a , b , c : XCTestExpectation
276
- var start : CFAbsoluteTime
274
+ var start : TimeInterval
277
275
278
276
a = XCTestExpectation ( description: " a " )
279
277
a. isInverted = true
@@ -431,7 +429,7 @@ class ExpectationsTestCase: XCTestCase {
431
429
let outerWaiter = XCTWaiter ( delegate: self )
432
430
let outerExpectation = XCTestExpectation ( description: " outer " )
433
431
434
- var outerExpectationFulfillTime = CFAbsoluteTime ( 0 )
432
+ var outerExpectationFulfillTime = TimeInterval ( 0 )
435
433
RunLoop . main. perform {
436
434
RunLoop . main. perform {
437
435
outerExpectationFulfillTime = Date . timeIntervalSinceReferenceDate
You can’t perform that action at this time.
0 commit comments