Skip to content

Commit 6d8747b

Browse files
committed
wip
1 parent 672bec2 commit 6d8747b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Tests/IssueReportingTests/IssueReportingTests_XCTest.swift

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ import XCTest
44
struct Failure: Error {}
55

66
final class XCTestTests: XCTestCase {
7-
func testIsTesting() {
8-
XCTAssertTrue(isTesting)
9-
}
7+
#if !os(WASI)
8+
func testIsTesting() {
9+
XCTAssertTrue(isTesting)
10+
}
1011

11-
func testTestContext() {
12-
XCTAssertEqual(TestContext.current, .xcTest)
13-
}
12+
func testTestContext() {
13+
XCTAssertEqual(TestContext.current, .xcTest)
14+
}
15+
#endif
1416

1517
#if _runtime(_ObjC)
1618
func testReportIssue_NoMessage() {

0 commit comments

Comments
 (0)