From a843aec47b5d74bbafcc2d0e4f340572700311e7 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 6 Jun 2024 07:14:15 +1000 Subject: [PATCH] suggestions --- url/dirname.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/url/dirname.ts b/url/dirname.ts index a548c8ebb241..16f1505f4385 100755 --- a/url/dirname.ts +++ b/url/dirname.ts @@ -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")); * ``` */