summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.lua')
-rw-r--r--tests/run.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index 7b50190..89f6273 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -5239,6 +5239,12 @@ test("Acquisition compares first codes with previous-input triggers", function()
)
same("xy", result.previous_input_trigger)
same("xy", service:last_temporary_scope().previous_input_trigger)
+ same(
+ domain.TargetValue.character("h", 104),
+ service:last_temporary_scope().cached_target
+ )
+ same(domain.ModeContext.from_full_mode("v"), result.previous_target_source)
+ same(service:last_temporary_scope().cached_target, result.cached_target)
local trigger, index = acquisition_service.match_previous_input_trigger(
0x3042,
{ "x", "\227\129\130more" }