Skip to content

Commit ea5c74d

Browse files
authored
Merge pull request #471 from apple/jgrynspan/116586683-no-core-foundation
2 parents e2fb647 + ff2e043 commit ea5c74d

File tree

1 file changed

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

1 file changed

+3
-5
lines changed

Tests/Functional/Asynchronous/Expectations/main.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

@@ -8,8 +8,6 @@
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

0 commit comments

Comments
 (0)