From d4e4f8c767781f8c635e2e2dd2c6d5a307eaca00 Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Fri, 3 Jan 2025 14:02:14 -0500 Subject: [PATCH] Revert "Work around a crash importing FoundationXML. (#786)" This reverts commit 405d8c9d60730228527dbd74d9ba75bf3fde5069. --- Tests/TestingTests/EventRecorderTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/TestingTests/EventRecorderTests.swift b/Tests/TestingTests/EventRecorderTests.swift index 1922a7841..97619b755 100644 --- a/Tests/TestingTests/EventRecorderTests.swift +++ b/Tests/TestingTests/EventRecorderTests.swift @@ -15,7 +15,7 @@ import RegexBuilder #if canImport(Foundation) import Foundation #endif -#if SWT_FIXED_138761752 && canImport(FoundationXML) +#if canImport(FoundationXML) import FoundationXML #endif @@ -299,7 +299,7 @@ struct EventRecorderTests { } #endif -#if (SWT_TARGET_OS_APPLE && canImport(Foundation)) || (SWT_FIXED_138761752 && canImport(FoundationXML)) +#if canImport(Foundation) || canImport(FoundationXML) @Test( "JUnitXMLRecorder outputs valid XML", .bug("https://github.com/swiftlang/swift-testing/issues/254")