Skip to content

Commit d5fd435

Browse files
authored
test/Concurrency/Runtime/checked_continuation.swift: disable crashing tests on WASI
1 parent 554b5b9 commit d5fd435

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Concurrency/Runtime/checked_continuation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ struct TestError: Error {}
1616
var tests = TestSuite("CheckedContinuation")
1717

1818
if #available(SwiftStdlib 5.1, *) {
19+
#if !os(WASI)
1920
tests.test("trap on double resume non-throwing continuation") {
2021
expectCrashLater()
2122

@@ -42,6 +43,7 @@ struct TestError: Error {}
4243
}
4344
await task.get()
4445
}
46+
#endif
4547

4648
tests.test("test withCheckedThrowingContinuation") {
4749
let task2 = detach {

0 commit comments

Comments
 (0)