diff options
Diffstat (limited to 'spec/test_luatool.lua')
| -rw-r--r-- | spec/test_luatool.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/test_luatool.lua b/spec/test_luatool.lua index e7f2294..ee0a79e 100644 --- a/spec/test_luatool.lua +++ b/spec/test_luatool.lua @@ -112,7 +112,9 @@ return { assert(record.agents.review.status == "completed") assert(#handle.submissions == 1, "completion wakes the primary once") has(handle.submissions[1], id) - assert(handle.emitted[1] == "agent_submission", "the host pipeline is explicitly woken") + assert(table.concat(handle.emitted, ",") == + "background_work_start,agent_submission,background_work_end", + "background work brackets the primary wake") end) end }, |
