Skip to content

Commit 644a304

Browse files
authored
[Executors] update assertion in distributed_actor_executor_asserts.swift
Update assertion that was outdated in the PR because in the meantime we had merged the rename of the `Job` type.
1 parent 9d9b964 commit 644a304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Distributed/Runtime/distributed_actor_executor_asserts.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ actor EnqueueTest {
8383
}
8484

8585
tests.test("remote actor reference should have crash-on-enqueue executor") {
86-
expectCrashLater(withMessage: "Attempted to enqueue Job (Job(id: 1)) on executor of remote distributed actor reference!")
86+
expectCrashLater(withMessage: "Attempted to enqueue ExecutorJob (ExecutorJob(id: 1)) on executor of remote distributed actor reference!")
8787
// we do the bad idea of taking an executor from a remote worker
8888
// and then force another actor to run on it; this will cause an enqueue on the "crash on enqueue" executor.
8989
let wrongUse = EnqueueTest(unownedExecutor: normalRemoteWorker.unownedExecutor)

0 commit comments

Comments
 (0)