Skip to content

Commit d4e4f8c

Browse files
committed
Revert "Work around a crash importing FoundationXML. (#786)"
This reverts commit 405d8c9.
1 parent 042581d commit d4e4f8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Tests/TestingTests/EventRecorderTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import RegexBuilder
1515
#if canImport(Foundation)
1616
import Foundation
1717
#endif
18-
#if SWT_FIXED_138761752 && canImport(FoundationXML)
18+
#if canImport(FoundationXML)
1919
import FoundationXML
2020
#endif
2121

@@ -299,7 +299,7 @@ struct EventRecorderTests {
299299
}
300300
#endif
301301

302-
#if (SWT_TARGET_OS_APPLE && canImport(Foundation)) || (SWT_FIXED_138761752 && canImport(FoundationXML))
302+
#if canImport(Foundation) || canImport(FoundationXML)
303303
@Test(
304304
"JUnitXMLRecorder outputs valid XML",
305305
.bug("https://github.com/swiftlang/swift-testing/issues/254")

0 commit comments

Comments
 (0)