Skip to content

Commit f245ec8

Browse files
committed
only run interop tests if foundation framework
1 parent 45ad14c commit f245ec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FoundationEssentialsTests/ProgressReporter/ProgressReporterTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ class TestProgressReporter: XCTestCase {
367367
}
368368
}
369369

370-
370+
#if FOUNDATION_FRAMEWORK
371371
/// Unit tests for interop methods that support building Progress trees with both Progress and ProgressReporter
372372
class TestProgressReporterInterop: XCTestCase {
373373
func doSomethingWithProgress(expectation1: XCTestExpectation, expectation2: XCTestExpectation) async -> Progress {
@@ -469,4 +469,4 @@ class TestProgressReporterInterop: XCTestCase {
469469
XCTAssertEqual(overallProgress2.totalUnitCount, 0)
470470
}
471471
}
472-
472+
#endif

0 commit comments

Comments
 (0)