From 6d8747bca288a4d2e9ba3a6d7d7908975ee725f6 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Wed, 10 Jul 2024 16:03:20 -0700 Subject: [PATCH] wip --- .../IssueReportingTests_XCTest.swift | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Tests/IssueReportingTests/IssueReportingTests_XCTest.swift b/Tests/IssueReportingTests/IssueReportingTests_XCTest.swift index 4c2000ba..6a47a8f2 100644 --- a/Tests/IssueReportingTests/IssueReportingTests_XCTest.swift +++ b/Tests/IssueReportingTests/IssueReportingTests_XCTest.swift @@ -4,13 +4,15 @@ import XCTest struct Failure: Error {} final class XCTestTests: XCTestCase { - func testIsTesting() { - XCTAssertTrue(isTesting) - } + #if !os(WASI) + func testIsTesting() { + XCTAssertTrue(isTesting) + } - func testTestContext() { - XCTAssertEqual(TestContext.current, .xcTest) - } + func testTestContext() { + XCTAssertEqual(TestContext.current, .xcTest) + } + #endif #if _runtime(_ObjC) func testReportIssue_NoMessage() {