Skip to content

Commit

Permalink
suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Jun 5, 2024
1 parent b74840f commit a843aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions url/dirname.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { strip } from "./_strip.ts";
* import { dirname } from "@std/url/dirname";
* import { assertEquals } from "@std/assert/assert-equals";
*
* assertEquals(dirname("https://deno.land/std/path/mod.ts").href, "https://deno.land/std/path");
* assertEquals(dirname(new URL("https://deno.land/std/path/mod.ts")).href, "https://deno.land/std/path");
* assertEquals(dirname("https://deno.land/std/path/mod.ts"), new URL("https://deno.land/std/path"));
* assertEquals(dirname(new URL("https://deno.land/std/path/mod.ts")), new URL("https://deno.land/std/path"));
* ```
*/

Expand Down

0 comments on commit a843aec

Please sign in to comment.