Skip to content

Commit

Permalink
🌿 Fix test tolerance of Vim on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Aug 3, 2024
1 parent b10230f commit d6e6474
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions with_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ for (const mode of ["vim", "nvim"] as const) {
await withDenops(mode, async (denops: Denops) => {
await denops.cmd("echomsg 'Hello. Hello. Hello. Hello. Hello. Hello.'");
await denops.cmd("echomsg 'World. World. World. World. World. World.'");
// To avoid message cutoff, execute arbitrary command.
await denops.cmd("redraw");
}, { verbose: true });
const rawOutput = s.calls.map((c) => c.args[0]);
const normOutput = rawOutput.join("").split("\r\n").map((v) => v.trim());
Expand Down

0 comments on commit d6e6474

Please sign in to comment.