diff --git a/test/Distributed/Runtime/distributed_actor_custom_executor_availability.swift b/test/Distributed/Runtime/distributed_actor_custom_executor_availability.swift index df915a14f0fbb..50e8c96a7004f 100644 --- a/test/Distributed/Runtime/distributed_actor_custom_executor_availability.swift +++ b/test/Distributed/Runtime/distributed_actor_custom_executor_availability.swift @@ -29,7 +29,7 @@ import Distributed let system = LocalTestingDistributedActorSystem() tests.test("5.7 actor, no availability executor property => no custom executor") { - expectCrashLater(withMessage: "Incorrect actor executor assumption; Expected MainActor executor") + expectCrashLater() try! await FiveSevenActor_NothingExecutor(actorSystem: system).test(x: 42) } @@ -38,7 +38,7 @@ import Distributed } tests.test("5.7 actor, 5.9 executor property => no custom executor") { - expectCrashLater(withMessage: "Incorrect actor executor assumption; Expected MainActor executor") + expectCrashLater() try! await FiveSevenActor_FiveNineExecutor(actorSystem: system).test(x: 42) }