Skip to content

Commit 73e43e4

Browse files
committed
Fix tests compilation for wasm
1 parent f601e19 commit 73e43e4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/LinuxMain.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ var tests: [XCTestCaseEntry] = [
3434
("testBackslashEscape", StringEscapingTests.testBackslashEscape),
3535
]),
3636
]
37+
#if !os(WASI)
3738
XCTMain(tests)
39+
40+
#else
41+
await XCTMain(tests)
42+
43+
#endif

0 commit comments

Comments
 (0)