/* should not generate diagnostics */
import {assertEquals} from "https://deno.land/std@0.220.0/assert/mod.ts";

Deno.test("url test", () => {
    const url = new URL("./foo.js", "https://deno.land/");
    assertEquals(url.href, "https://deno.land/foo.js");
});