diff options
Diffstat (limited to 'test/behaviour/keys.zig')
| -rw-r--r-- | test/behaviour/keys.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/behaviour/keys.zig b/test/behaviour/keys.zig index e8731d2c..60c1c42d 100644 --- a/test/behaviour/keys.zig +++ b/test/behaviour/keys.zig @@ -38,7 +38,7 @@ test "keys: a prompt's entry and cancellation leave the tag, the body and its cu // Save on a scratch asks for a path, starting from its directory. const scratch = try s.newPane(); const scratch_tag = try s.read(s.at("/pane/{d}/tag", .{scratch})); - try s.keys(":\tzq"); + try s.keys("::\tzq"); _ = try s.where("/zq"); try s.expect(s.at("/pane/{d}/tag", .{scratch}), scratch_tag); try s.keys("\x1b"); @@ -268,7 +268,7 @@ test "keys: Save's prompt on a scratch starts from the scratch's directory, one // New from the file's pane: a scratch in its directory. try s.write(s.at("/pane/{d}/exec", .{n}), "New\n"); try std.testing.expect(try s.focused() != n); - try s.keys(":\tzq"); + try s.keys("::\tzq"); _ = try s.where(c[1]); try s.keys("\x1b"); } @@ -370,7 +370,7 @@ test "keys: a PDF in normal mode keeps : (its tag and back), SPC (a leader, canc try std.testing.expect(try s.cursor() == null); _ = try s.pdfPage(n); const tag = (try s.where("[1/"))[1]; - try s.keys(":"); + try s.keys("::"); // On its tag, which runs to three rows (its path, the core's art words). const on_tag = (try s.cursor()).?[1]; try std.testing.expect(on_tag >= tag and on_tag <= tag + 2); |
