Skip to content

Commit 3e18bb8

Browse files
committed
Fix match string
1 parent 11a3f29 commit 3e18bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

denops/@denops-private/host/vim_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Deno.test("Vim", async (t) => {
102102
await assertRejects(
103103
() => host.call("@@@@@", -4),
104104
Error,
105-
"Failed to call '@@@@@' in Vim: Vim(let):E117: Unknown function: @@@@@",
105+
"Failed to call '@@@@@' in Vim:",
106106
);
107107
});
108108
});
@@ -148,7 +148,7 @@ Deno.test("Vim", async (t) => {
148148
assertEquals(ret, [4, 10]);
149149
assertMatch(
150150
err,
151-
/^Failed to call '@@@@@' in Vim: Vim\(.*\):E117: Unknown function: @@@@@/,
151+
/Failed to call '@@@@@' in Vim:/,
152152
);
153153
});
154154

0 commit comments

Comments
 (0)