fix: keybind testcases
This commit is contained in:
parent
bb887b5789
commit
8a89c888eb
2 changed files with 2 additions and 1 deletions
|
@ -386,6 +386,7 @@ pub fn build_exe(
|
|||
tests.root_module.addImport("input", input_mod);
|
||||
tests.root_module.addImport("thespian", thespian_mod);
|
||||
tests.root_module.addImport("log", log_mod);
|
||||
tests.root_module.addImport("Buffer", Buffer_mod);
|
||||
// b.installArtifact(tests);
|
||||
break :blk b.addRunArtifact(tests);
|
||||
};
|
||||
|
|
|
@ -770,7 +770,7 @@ test "match" {
|
|||
}
|
||||
|
||||
test "json" {
|
||||
var bindings: BindingSet = .{ .name = "test" };
|
||||
var bindings: BindingSet = .{ .name = "test", .selection_style = .normal };
|
||||
_ = try bindings.process_key_event(input.KeyEvent.from_key('j'));
|
||||
_ = try bindings.process_key_event(input.KeyEvent.from_key('k'));
|
||||
_ = try bindings.process_key_event(input.KeyEvent.from_key('g'));
|
||||
|
|
Loading…
Add table
Reference in a new issue