Skip to content

Commit c6e654e

Browse files
committed
test
1 parent 516807f commit c6e654e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Tests/IssueReportingTests/WithErrorReportingTests.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
}
6262
}
6363

64+
@Test func cancellation() async {
65+
await withErrorReporting {
66+
await Task.yield()
67+
throw CancellationError()
68+
}
69+
}
70+
6471
#if compiler(<6.2)
6572
@MainActor
6673
@Test func isolation() async {

0 commit comments

Comments
 (0)