Skip to content

Commit 6243dfa

Browse files
Using REQUIRES: swift_stdlib_asserts as a cleaner way to disable actor_deinit_escaping_self on Linux
1 parent 1120bee commit 6243dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Concurrency/Runtime/actor_deinit_escaping_self.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// REQUIRES: libdispatch
55
// REQUIRES: concurrency
66
// REQUIRES: concurrency_runtime
7+
// REQUIRES: swift_stdlib_asserts
78
// UNSUPPORTED: back_deployment_runtime
89

910
import _Concurrency
@@ -35,8 +36,7 @@ actor EscapeLocked {
3536
// Ideally these tests should be compile-time errors
3637
let tests = TestSuite("EscapingSelf")
3738
tests.test("escape while locked") {
38-
// TODO: Investigate failure on Linux and re-enable this test
39-
// _ = EscapeLocked()
39+
_ = EscapeLocked()
4040
}
4141
await runAllTestsAsync()
4242
}

0 commit comments

Comments
 (0)