diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-04 18:44:32 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-04 18:44:32 +0200 |
| commit | c7b14ffb6d14969c9c41864e827f33f8e80fc24e (patch) | |
| tree | c7c0ac23dc93a4a8b75449d2be4d0e05c4f05f9e /tests/run.lua | |
| parent | 9013636a57144e1f57c9339e7888d588430aae6a (diff) | |
Rename plugin to clever-tee
Diffstat (limited to 'tests/run.lua')
| -rw-r--r-- | tests/run.lua | 232 |
1 files changed, 116 insertions, 116 deletions
diff --git a/tests/run.lua b/tests/run.lua index 069cc60..a4a3fdc 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -6,27 +6,27 @@ package.path = table.concat({ package.path, }, ";") -local domain = require("clever_f.domain") -local action_facade = require("clever_f.action_facade") -local acquisition_service = require("clever_f.acquisition_service") -local capabilities = require("clever_f.capabilities") -local composition_root = require("clever_f.composition_root") -local destination_engine = require("clever_f.destination_engine") -local direct_preview_planner = require("clever_f.direct_preview_planner") -local feedback_service = require("clever_f.feedback_service") -local host_adapter = require("clever_f.host_adapter") -local case_policy = require("clever_f.case_policy") -local policy = require("clever_f.policy") -local repeat_resolver = require("clever_f.repeat_resolver") -local migemo_catalog = require("clever_f.migemo_catalog") -local motion_plan = require("clever_f.motion_plan") -local motion_executor = require("clever_f.motion_executor") -local sequence_coordinator = require("clever_f.sequence_coordinator") -local sequence_state = require("clever_f.sequence_state") -local state_transitions = require("clever_f.state_transitions") -local text_topology = require("clever_f.text_topology") -local target_plan = require("clever_f.target_plan") -local MemoryHost = require("clever_f.testing.memory_host") +local domain = require("clever_tee.domain") +local action_facade = require("clever_tee.action_facade") +local acquisition_service = require("clever_tee.acquisition_service") +local capabilities = require("clever_tee.capabilities") +local composition_root = require("clever_tee.composition_root") +local destination_engine = require("clever_tee.destination_engine") +local direct_preview_planner = require("clever_tee.direct_preview_planner") +local feedback_service = require("clever_tee.feedback_service") +local host_adapter = require("clever_tee.host_adapter") +local case_policy = require("clever_tee.case_policy") +local policy = require("clever_tee.policy") +local repeat_resolver = require("clever_tee.repeat_resolver") +local migemo_catalog = require("clever_tee.migemo_catalog") +local motion_plan = require("clever_tee.motion_plan") +local motion_executor = require("clever_tee.motion_executor") +local sequence_coordinator = require("clever_tee.sequence_coordinator") +local sequence_state = require("clever_tee.sequence_state") +local state_transitions = require("clever_tee.state_transitions") +local text_topology = require("clever_tee.text_topology") +local target_plan = require("clever_tee.target_plan") +local MemoryHost = require("clever_tee.testing.memory_host") local assertions = dofile(root .. "/tests/assertions.lua") local same = assertions.same @@ -451,11 +451,11 @@ test("Host adapter bridges native dot to resolved payload replay", function() end) local dot = mappings["n\0."] - local motion = mappings["o\0<Plug>(clever-f-dot-motion)"] + local motion = mappings["o\0<Plug>(clever-tee-dot-motion)"] truthy(dot ~= nil) truthy(motion ~= nil) dot.callback() - same("2d<Plug>(clever-f-dot-motion)", fed.keys) + same("2d<Plug>(clever-tee-dot-motion)", fed.keys) same("n", fed.mode) falsy(fed.escape_csi) @@ -559,7 +559,7 @@ test("Host adapter owns Nvim timers and event registrations", function() local runtime = { api = { nvim_create_augroup = function(name, options) - same("clever_f", name) + same("clever_tee", name) truthy(options.clear) return 7 end, @@ -692,7 +692,7 @@ test("Host adapter materializes window-local highlight resources", function() { guifg = "red" }, { default = true } )) - truthy(adapter:define_highlight_group("CleverFDefaultLabel", { + truthy(adapter:define_highlight_group("CleverTeeDefaultLabel", { guifg = "red", guibg = "NONE", gui = { bold = true, underline = true }, @@ -700,20 +700,20 @@ test("Host adapter materializes window-local highlight resources", function() ctermbg = "NONE", cterm = { bold = true, underline = true }, }, { default = true })) - same("red", groups.CleverFDefaultLabel.fg) - same("NONE", groups.CleverFDefaultLabel.bg) - truthy(groups.CleverFDefaultLabel.bold) - truthy(groups.CleverFDefaultLabel.underline) - truthy(groups.CleverFDefaultLabel.default) + same("red", groups.CleverTeeDefaultLabel.fg) + same("NONE", groups.CleverTeeDefaultLabel.bg) + truthy(groups.CleverTeeDefaultLabel.bold) + truthy(groups.CleverTeeDefaultLabel.underline) + truthy(groups.CleverTeeDefaultLabel.default) local cursor = adapter:create_highlight({ - group = "CleverFCursor", + group = "CleverTeeCursor", window = 42, position = domain.Position.new(3, 5), priority = "high", }) local character = adapter:create_highlight({ - group = "CleverFChar", + group = "CleverTeeChar", window = 51, positions = {}, priority = "ordinary", @@ -803,7 +803,7 @@ test("Host adapter translates typed action outcomes to Nvim effects", function() same("diagnostic", effects[2].kind) same("adapter error", effects[2].text) same(4, effects[2].level) - same("clever-f", effects[2].title) + same("clever-tee", effects[2].title) end) test("Capability contract reports every semantic method", function() @@ -951,11 +951,11 @@ test("MemoryHost models movement, input, folds, and visible effects", function() falsy(host:open_fold()) same(0, host:read_fold_state().closed_levels) - host:show_prompt("clever-f: ") + host:show_prompt("clever-tee: ") host:redraw("screen") host:redraw("full") host:emit_diagnostic("error", "problem") - same("clever-f: ", host:prompts()[1]) + same("clever-tee: ", host:prompts()[1]) list_same({ "screen", "full" }, host:redraws()) same("problem", host:diagnostics()[1].text) end) @@ -968,7 +968,7 @@ test("MemoryHost manages highlight and cursor-presentation resources", function( } local host = MemoryHost.new({ cursor_presentation = presentation }) local highlight = host:create_highlight({ - group = "CleverFChar", + group = "CleverTeeChar", identity = "char-1", position = domain.Position.new(1, 1), priority = "high", @@ -1068,8 +1068,8 @@ test("Policy schema contains every default and color target", function() local schema = policy.schema() same("Cursor", schema.mark_cursor_color.default_target) - same("CleverFDefaultLabel", schema.mark_char_color.default_target) - same("CleverFDefaultLabel", schema.mark_direct_color.default_target) + same("CleverTeeDefaultLabel", schema.mark_char_color.default_target) + same("CleverTeeDefaultLabel", schema.mark_direct_color.default_target) same(policy.ValueType.OPTIONAL_GROUP_NAME, schema.mark_cursor_color.value_type) same(policy.ValueType.PRESENCE, schema[policy.DEFAULT_MAP_SUPPRESSION_SENTINEL].value_type) @@ -1233,13 +1233,13 @@ test("Highlight policy is reevaluated with live feature and color values", funct service:capture_activation() local initial = service:evaluate_highlight_links() - truthy(initial.CleverFCursor.enabled) - same(nil, initial.CleverFCursor.configured_target) - same("Cursor", initial.CleverFCursor.target) - truthy(initial.CleverFChar.enabled) - same("CleverFDefaultLabel", initial.CleverFChar.target) - falsy(initial.CleverFDirect.enabled) - same("CleverFDefaultLabel", initial.CleverFDirect.target) + truthy(initial.CleverTeeCursor.enabled) + same(nil, initial.CleverTeeCursor.configured_target) + same("Cursor", initial.CleverTeeCursor.target) + truthy(initial.CleverTeeChar.enabled) + same("CleverTeeDefaultLabel", initial.CleverTeeChar.target) + falsy(initial.CleverTeeDirect.enabled) + same("CleverTeeDefaultLabel", initial.CleverTeeDirect.target) host:set_configuration("mark_cursor", false) host:set_configuration("mark_cursor_color", "Search") @@ -1249,12 +1249,12 @@ test("Highlight policy is reevaluated with live feature and color values", funct host:set_configuration("mark_direct_color", "IncSearch") local refreshed = service:evaluate_highlight_links() - falsy(refreshed.CleverFCursor.enabled) - same("Search", refreshed.CleverFCursor.target) - falsy(refreshed.CleverFChar.enabled) - same("ErrorMsg", refreshed.CleverFChar.target) - truthy(refreshed.CleverFDirect.enabled) - same("IncSearch", refreshed.CleverFDirect.target) + falsy(refreshed.CleverTeeCursor.enabled) + same("Search", refreshed.CleverTeeCursor.target) + falsy(refreshed.CleverTeeChar.enabled) + same("ErrorMsg", refreshed.CleverTeeChar.target) + truthy(refreshed.CleverTeeDirect.enabled) + same("IncSearch", refreshed.CleverTeeDirect.target) end) test("Case policy resolves an explicit mode for each target", function() @@ -1457,8 +1457,8 @@ test("State resource updates retain host locations and timer identity", function transitions:AddTargetOverlay("char-1", "window-1", 4) transitions:AddTargetOverlay("char-1", "window-2", 8) - transitions:AddTemporaryOverlay("cursor-1", "window-1", "CleverFCursor") - transitions:AddTemporaryOverlay("direct-1", "window-2", "CleverFDirect") + transitions:AddTemporaryOverlay("cursor-1", "window-1", "CleverTeeCursor") + transitions:AddTemporaryOverlay("direct-1", "window-2", "CleverTeeDirect") transitions:AddFinalizer("finalizer-1", "buffer-1") transitions:AddFinalizer("finalizer-1", "buffer-2") @@ -1466,7 +1466,7 @@ test("State resource updates retain host locations and timer identity", function same("window-1", resources.target_overlays[1].window) same(4, resources.target_overlays[1].anchor_line) same("window-2", resources.target_overlays[2].window) - same("CleverFDirect", resources.temporary_overlays[2].group) + same("CleverTeeDirect", resources.temporary_overlays[2].group) same("buffer-1", resources.finalizers[1].buffer) same("buffer-2", resources.finalizers[2].buffer) @@ -1531,7 +1531,7 @@ test("PublicReset applies its exact clear and retain sets", function() transitions:SetHighlightTimer("timer-1") transitions:AddTargetOverlay("char-1", "window-1", 1) transitions:AddTargetOverlay("char-2", "window-2", 2) - transitions:AddTemporaryOverlay("cursor-1", "window-1", "CleverFCursor") + transitions:AddTemporaryOverlay("cursor-1", "window-1", "CleverTeeCursor") transitions:AddFinalizer("finalizer-1", "buffer-1") local input_context = state.last_input_context @@ -1579,7 +1579,7 @@ test("FullFinalization clears feedback and direction while retaining history", f transitions:SetHighlightTimer("timer-finalize") transitions:AddTargetOverlay("char-current", "window-1", 1) transitions:AddTargetOverlay("char-peer", "window-2", 2) - transitions:AddTemporaryOverlay("direct-current", "window-1", "CleverFDirect") + transitions:AddTemporaryOverlay("direct-current", "window-1", "CleverTeeDirect") transitions:AddFinalizer("finalizer-a", "buffer-1") transitions:AddFinalizer("finalizer-b", "buffer-2") @@ -1621,7 +1621,7 @@ test("DiagnosticFullReset adds only its diagnostic clear set", function() transitions:CacheMigemo("cp932", { dictionary = "cp932" }) transitions:SetHighlightTimer("timer-diagnostic") transitions:AddTargetOverlay("char-diagnostic", "window-3", 4) - transitions:AddTemporaryOverlay("cursor-diagnostic", "window-3", "CleverFCursor") + transitions:AddTemporaryOverlay("cursor-diagnostic", "window-3", "CleverTeeCursor") transitions:AddFinalizer("finalizer-diagnostic", "buffer-3") local cleanup = transitions:DiagnosticFullReset() @@ -2347,17 +2347,17 @@ test("Bundled Migemo assets equal the normative source data", function() { encoding = "utf-8", file = "utf8.vim", - hash = "fccd16452c105fcb7303d855b96d841f8174d37affa0c43d8b49a54e68289f3e", + hash = "18b0e6cd454b4ec3c2b16d886b2e02eeae29e2c4a83746011d2f693e581e293b", }, { encoding = "cp932", file = "cp932.vim", - hash = "3823fda790f43876be78d53e116187f2e0eedc14d203756ea66a3814ca9707f1", + hash = "ab02f0405dea08dd693138fbdf322e618f28d7bdb4c1d38ec4abf80e1c8730b5", }, { encoding = "euc-jp", file = "eucjp.vim", - hash = "d6d7a2a795d7e3e14cdefd0cf2597bc48bd3d89dbdc41019f460027377855079", + hash = "fd6fa831a5636dad71f70447b57be99705c54b7d50109a61e2569944722b7362", }, } @@ -2598,7 +2598,7 @@ test("Unsupported Migemo encoding disables live policy and raises exactly", func falsy(ok) same( - "clever-f: Encoding 'latin1' is not supported. Migemo is disabled", + "clever-tee: Encoding 'latin1' is not supported. Migemo is disabled", diagnostic ) falsy(service:get_boolean("use_migemo")) @@ -4727,7 +4727,7 @@ test("Default label evaluation preserves a colorscheme definition", function() } local host = MemoryHost.new({ highlight_groups = { - CleverFDefaultLabel = supplied, + CleverTeeDefaultLabel = supplied, }, }) local feedback = feedback_service.new(host) @@ -4737,7 +4737,7 @@ test("Default label evaluation preserves a colorscheme definition", function() falsy(result.applied) same("blue", result.definition.guifg) truthy(result.definition.gui.italic) - same("blue", host:highlight_groups().CleverFDefaultLabel.guifg) + same("blue", host:highlight_groups().CleverTeeDefaultLabel.guifg) local operations = host:operations() same(1, #operations) @@ -4751,7 +4751,7 @@ test("Default label evaluation defines the fallback when absent", function() local result = feedback:ensure_default_label() same("fallback", result.source) truthy(result.applied) - local definition = host:highlight_groups().CleverFDefaultLabel + local definition = host:highlight_groups().CleverTeeDefaultLabel same("red", definition.guifg) same("NONE", definition.guibg) truthy(definition.gui.bold) @@ -4774,20 +4774,20 @@ test("Explicit color configuration forces its feature link", function() mark_cursor_color = "Search", }, highlight_groups = { - CleverFCursor = { guifg = "blue" }, + CleverTeeCursor = { guifg = "blue" }, }, }) local feedback = feedback_service.new(host) local results = feedback:evaluate_feature_links() - same("configured", results.CleverFCursor.source) - same("Search", results.CleverFCursor.target) - same("Search", host:highlight_groups().CleverFCursor.link) + same("configured", results.CleverTeeCursor.source) + same("Search", results.CleverTeeCursor.target) + same("Search", host:highlight_groups().CleverTeeCursor.link) local definition for _, operation in ipairs(host:operations()) do if operation.operation == "define_highlight_group" - and operation.name == "CleverFCursor" + and operation.name == "CleverTeeCursor" then definition = operation end @@ -4796,28 +4796,28 @@ test("Explicit color configuration forces its feature link", function() truthy(definition.options.force) end) -test("Feature link evaluation preserves colorscheme CleverF groups", function() +test("Feature link evaluation preserves colorscheme CleverTee groups", function() local custom = { guifg = "magenta", gui = { reverse = true }, } local host = MemoryHost.new({ highlight_groups = { - CleverFChar = custom, + CleverTeeChar = custom, }, }) local feedback = feedback_service.new(host) local results = feedback:evaluate_feature_links() - same("colorscheme", results.CleverFChar.source) - falsy(results.CleverFChar.applied) - same("magenta", results.CleverFChar.definition.guifg) - truthy(results.CleverFChar.definition.gui.reverse) - same("magenta", host:highlight_groups().CleverFChar.guifg) + same("colorscheme", results.CleverTeeChar.source) + falsy(results.CleverTeeChar.applied) + same("magenta", results.CleverTeeChar.definition.guifg) + truthy(results.CleverTeeChar.definition.gui.reverse) + same("magenta", host:highlight_groups().CleverTeeChar.guifg) for _, operation in ipairs(host:operations()) do if operation.operation == "define_highlight_group" then - falsy(operation.name == "CleverFChar") + falsy(operation.name == "CleverTeeChar") end end end) @@ -4827,15 +4827,15 @@ test("Missing feature groups receive fallback links", function() local feedback = feedback_service.new(host) local results = feedback:evaluate_feature_links() - same("fallback", results.CleverFCursor.source) - truthy(results.CleverFCursor.applied) + same("fallback", results.CleverTeeCursor.source) + truthy(results.CleverTeeCursor.applied) local groups = host:highlight_groups() - same(results.CleverFCursor.target, groups.CleverFCursor.link) + same(results.CleverTeeCursor.target, groups.CleverTeeCursor.link) local fallback_definition for _, operation in ipairs(host:operations()) do if operation.operation == "define_highlight_group" - and operation.name == "CleverFCursor" + and operation.name == "CleverTeeCursor" then fallback_definition = operation end @@ -4850,8 +4850,8 @@ test("Cursor feedback falls back to the Cursor group", function() local feedback = feedback_service.new(host) local results = feedback:evaluate_feature_links() - same("Cursor", results.CleverFCursor.target) - same("Cursor", host:highlight_groups().CleverFCursor.link) + same("Cursor", results.CleverTeeCursor.target) + same("Cursor", host:highlight_groups().CleverTeeCursor.link) end) test("Character and direct feedback fall back to the default label", function() @@ -4862,9 +4862,9 @@ test("Character and direct feedback fall back to the default label", function() local results = feedback:evaluate_feature_links() local groups = host:highlight_groups() - for _, group in ipairs({ "CleverFChar", "CleverFDirect" }) do - same("CleverFDefaultLabel", results[group].target) - same("CleverFDefaultLabel", groups[group].link) + for _, group in ipairs({ "CleverTeeChar", "CleverTeeDirect" }) do + same("CleverTeeDefaultLabel", results[group].target) + same("CleverTeeDefaultLabel", groups[group].link) end end) @@ -4879,9 +4879,9 @@ test("Feature links are evaluated only while their features are enabled", functi mark_direct_color = "ErrorMsg", }, highlight_groups = { - CleverFCursor = { guifg = "one" }, - CleverFChar = { guifg = "two" }, - CleverFDirect = { guifg = "three" }, + CleverTeeCursor = { guifg = "one" }, + CleverTeeChar = { guifg = "two" }, + CleverTeeDirect = { guifg = "three" }, }, }) local feedback = feedback_service.new(host) @@ -4889,9 +4889,9 @@ test("Feature links are evaluated only while their features are enabled", functi local results = feedback:evaluate_feature_links() same(0, map_size(results)) local groups = host:highlight_groups() - same("one", groups.CleverFCursor.guifg) - same("two", groups.CleverFChar.guifg) - same("three", groups.CleverFDirect.guifg) + same("one", groups.CleverTeeCursor.guifg) + same("two", groups.CleverTeeChar.guifg) + same("three", groups.CleverTeeDirect.guifg) for _, operation in ipairs(host:operations()) do falsy(operation.operation == "define_highlight_group") falsy(operation.operation == "read_highlight_group") @@ -4901,11 +4901,11 @@ end) test("Cursor and character overlays use high priority", function() same( feedback_service.Priority.HIGH, - feedback_service.overlay_priority("CleverFCursor") + feedback_service.overlay_priority("CleverTeeCursor") ) same( feedback_service.Priority.HIGH, - feedback_service.overlay_priority("CleverFChar") + feedback_service.overlay_priority("CleverTeeChar") ) fails(function() feedback_service.overlay_priority("Other") @@ -4915,7 +4915,7 @@ end) test("Direct overlays use ordinary priority", function() same( feedback_service.Priority.ORDINARY, - feedback_service.overlay_priority("CleverFDirect") + feedback_service.overlay_priority("CleverTeeDirect") ) end) @@ -4933,7 +4933,7 @@ test("Cursor marker overlays the exact cursor byte position", function() local marker = feedback:create_cursor_marker(cursor, "window-1") local highlight = host:highlights()[marker.identity] - same("CleverFCursor", highlight.group) + same("CleverTeeCursor", highlight.group) same("window-1", highlight.window) same(domain.Position.new(1, 5), highlight.position) same(feedback_service.Priority.HIGH, highlight.priority) @@ -5326,7 +5326,7 @@ test("Feedback creates one ordinary direct marker set", function() local marker = feedback:create_direct_markers(positions, "window-1") local highlight = host:highlights()[marker.identity] - same("CleverFDirect", highlight.group) + same("CleverTeeDirect", highlight.group) same(feedback_service.Priority.ORDINARY, highlight.priority) same(3, #highlight.positions) for index = 1, #positions do @@ -5340,8 +5340,8 @@ test("Feedback creates one ordinary direct marker set", function() local evaluation = feedback:evaluate_highlights() same("fallback", evaluation.default_label.source) same( - "CleverFDefaultLabel", - evaluation.feature_links.CleverFDirect.target + "CleverTeeDefaultLabel", + evaluation.feature_links.CleverTeeDirect.target ) end) @@ -5487,7 +5487,7 @@ test("Interactive acquisition creates enabled direct previews", function() service:acquire("t", "n", host:read_cursor(), host:read_count(), nil) local marker = service:last_temporary_scope().direct_marker truthy(marker ~= nil) - same("CleverFDirect", marker.group) + same("CleverTeeDirect", marker.group) same(1, #marker.positions) same(domain.Position.new(1, 4), marker.positions[1]) same(0, #state:temporary_overlay_identities()) @@ -5538,8 +5538,8 @@ test("Acquisition emits the exact enabled prompt", function() nil, nil ) - same("clever-f: ", acquisition_service.PROMPT) - list_same({ "clever-f: " }, host:prompts()) + same("clever-tee: ", acquisition_service.PROMPT) + list_same({ "clever-tee: " }, host:prompts()) list_same({ "full" }, host:redraws()) fresh_sequence_state() @@ -6477,7 +6477,7 @@ test("Persistent matches share one high-priority character overlay", function() }) local highlight = host:highlights()[persistent.identity] - same("CleverFChar", highlight.group) + same("CleverTeeChar", highlight.group) same(feedback_service.Priority.HIGH, highlight.priority) same(shared_target, highlight.target_plan) same(3, #highlight.positions) @@ -6567,7 +6567,7 @@ test("Persistent feedback stores overlay identity and anchor", function() same(persistent.identity, resource.identity) same("window-anchor", resource.window) - same("CleverFChar", resource.group) + same("CleverTeeChar", resource.group) same(2, persistent.anchor_line) same(2, host:highlights()[persistent.identity].anchor_line) same(2, resource.anchor_line) @@ -6782,7 +6782,7 @@ test("Full finalization removes owned registrations and window overlays", functi window = "window-1", }) local peer = host:create_highlight({ - group = "CleverFChar", + group = "CleverTeeChar", window = "window-2", positions = {}, priority = feedback_service.Priority.HIGH, @@ -7629,10 +7629,10 @@ test("Core activation evaluates default and enabled feature highlights", functio local groups = host:highlight_groups() same("fallback", activation.highlights.default_label.source) - same("red", groups.CleverFDefaultLabel.guifg) - same("Cursor", groups.CleverFCursor.link) - same(nil, groups.CleverFChar) - same("CleverFDefaultLabel", groups.CleverFDirect.link) + same("red", groups.CleverTeeDefaultLabel.guifg) + same("Cursor", groups.CleverTeeCursor.link) + same(nil, groups.CleverTeeChar) + same("CleverTeeDefaultLabel", groups.CleverTeeDirect.link) end) test("Core activation refreshes highlights after colorscheme changes", function() @@ -7653,8 +7653,8 @@ test("Core activation refreshes highlights after colorscheme changes", function( local refresh = root:last_highlight_refresh() truthy(refresh ~= nil) - same("configured", refresh.feature_links.CleverFChar.source) - same("Search", host:highlight_groups().CleverFChar.link) + same("configured", refresh.feature_links.CleverTeeChar.source) + same("Search", host:highlight_groups().CleverTeeChar.link) end) test("Core activation installs sampled eager window hooks", function() @@ -7797,7 +7797,7 @@ test("Primary coordination accepts only the four motion descriptors", function() end fails(function() coordinator:primary("x") - end, "clever-f: Invalid mapping 'x'") + end, "clever-tee: Invalid mapping 'x'") end) test("Primary coordination reads normalized invocation state", function() @@ -8083,7 +8083,7 @@ test("Expired primary repetition resets resources and reacquires pressed key", f transitions:CommitAcquiredTarget("n", old_target, 100) transitions:CommitCommandSuccess("n", landing, true) local overlay = host:create_highlight({ - group = "CleverFChar", + group = "CleverTeeChar", window = "window-1", positions = { landing }, }) @@ -8466,7 +8466,7 @@ test("Free-form action adapter raises the exact invalid mapping error", function end) falsy(ok) - same("clever-f: Invalid mapping 'X'", diagnostic) + same("clever-tee: Invalid mapping 'X'", diagnostic) end) test("ActionFacade returns typed primary action outcomes", function() @@ -8489,7 +8489,7 @@ test("ActionFacade returns typed primary action outcomes", function() same(domain.Position.new(1, 2), outcome.position) fails(function() facade:primary("x") - end, "clever-f: Invalid mapping 'x'") + end, "clever-tee: Invalid mapping 'x'") end) test("ActionFacade Reset applies public cleanup and returns neutral", function() @@ -8504,7 +8504,7 @@ test("ActionFacade Reset applies public cleanup and returns neutral", function() transitions:CommitAcquiredTarget("n", target_value, 25) transitions:CommitCommandSuccess("n", landing, true) local overlay = host:create_highlight({ - group = "CleverFChar", + group = "CleverTeeChar", window = "window-1", positions = { landing }, }) |
