Skip to content

Commit 49ee07f

Browse files
committed
test(popup): add buffer content
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
1 parent 670613d commit 49ee07f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

popup/mod_test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ test({
109109
await t.step({
110110
name: `open() with relative cursor`,
111111
fn: async () => {
112-
await denops.cmd("normal! 10G10");
112+
for (let i = 0; i < 10; i++) {
113+
await fn.append(denops, 0, [
114+
"0123456789",
115+
]);
116+
}
117+
await denops.cmd("normal! G$");
113118
await using popupWindow = await popup.open(denops, {
114119
relative: "cursor",
115120
width: 20,

0 commit comments

Comments
 (0)