summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2026-09-04 12:06:10 +0200
committerJackson Moore <jacksonmoore@tuta.io>2026-09-04 12:06:10 +0200
commit6f24b9436efd6fc6139ec0382109b586238b233a (patch)
tree60bc24178db6579a8f04c748353b668abeefe81a /tests/run.lua
parent7d08a49b62eed6c4afcd19897670fb10930faa46 (diff)
Return empty missing-input outcome
Diffstat (limited to 'tests/run.lua')
-rw-r--r--tests/run.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index 69f5087..55a4225 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -5275,6 +5275,10 @@ test("Missing previous input preserves cursor and emits exact diagnostic", funct
local result = service:acquire("f", "n", origin, nil, nil)
truthy(result.missing_previous_input)
same(nil, result.target)
+ truthy(result:has_outcome())
+ same(domain.ActionKind.EMPTY, result.outcome.kind)
+ same(origin, result.outcome.position)
+ falsy(service:last_temporary_scope().active)
same(origin, host:read_cursor())
same(1, #host:diagnostics())
same("error", host:diagnostics()[1].level)