summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
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)