Skip to content

Commit d6e6474

Browse files
committed
🌿 Fix test tolerance of Vim on Windows
1 parent b10230f commit d6e6474

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

with_test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ for (const mode of ["vim", "nvim"] as const) {
3131
await withDenops(mode, async (denops: Denops) => {
3232
await denops.cmd("echomsg 'Hello. Hello. Hello. Hello. Hello. Hello.'");
3333
await denops.cmd("echomsg 'World. World. World. World. World. World.'");
34+
// To avoid message cutoff, execute arbitrary command.
35+
await denops.cmd("redraw");
3436
}, { verbose: true });
3537
const rawOutput = s.calls.map((c) => c.args[0]);
3638
const normOutput = rawOutput.join("").split("\r\n").map((v) => v.trim());

0 commit comments

Comments
 (0)