summaryrefslogtreecommitdiff
path: root/spec/test_init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/test_init.lua')
-rw-r--r--spec/test_init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/test_init.lua b/spec/test_init.lua
index eb8777a..bb42c57 100644
--- a/spec/test_init.lua
+++ b/spec/test_init.lua
@@ -236,6 +236,8 @@ return {
{ "background workflows survive turn_end and interruption cancels them", function()
activate_bare(function(handle, ok, err)
assert(ok, tostring(err))
+ assert(handle.ext.workflows == workflow.workflows,
+ "extensions can inspect background workflow status")
local tool = handle.tools_by_name["subagents.lua"]
handle.queue({ output = "finished", settle = 3 })
local id = tool.handler({ source = [[