@@ -139,15 +139,15 @@ const exprPattern = /^(.*?)(?:;(.*?))?(?:#(.*))?$/;
139139 *
140140 * ```typescript
141141 * import { assertEquals } from "jsr:@std/assert";
142- * import * as path from "jsr:@std/path";
142+ * import { toFileUrl } from "jsr:@std/path/to-file-url ";
143143 * import { format } from "jsr:@denops/std/bufname";
144144 *
145145 * // NOTE:
146146 * // Works only on Windows (Use path.win32.toFileUrl instead on other platforms)
147147 * assertEquals(
148148 * format({
149149 * scheme: "denops",
150- * expr: path. toFileUrl("C:\\Users\John Titor\test.git").pathname,
150+ * expr:toFileUrl("C:\\Users\John Titor\test.git").pathname,
151151 * }),
152152 * "denops:///C:/Users/John%2520Titor/test.git",
153153 * );
@@ -233,7 +233,7 @@ export function format(
233233 *
234234 * ```typescript
235235 * import { assertEquals } from "jsr:@std/assert";
236- * import * as path from "jsr:@std/path";
236+ * import { fromFileUrl } from "jsr:@std/path/from-file-url ";
237237 * import { parse } from "jsr:@denops/std/bufname";
238238 *
239239 * const bufname = parse("denops:///C:/Users/John%2520Titor/test.git");
@@ -244,7 +244,7 @@ export function format(
244244 * // NOTE:
245245 * // Works only on Windows (Use path.win32.fromFileUrl instead on other platforms)
246246 * assertEquals(
247- * path. fromFileUrl(`file://${bufname.expr}`),
247+ * fromFileUrl(`file://${bufname.expr}`),
248248 * "C:\\Users\\John Titor\\test.git",
249249 * );
250250 * ```
0 commit comments