// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { assertEquals } from "jsr:@std/assert@^0.215.0";
import { normalize } from "./normalize.ts";

Deno.test(`normalize() returns "." if input is empty`, function () {
  assertEquals(normalize(""), ".");

  const pwd = Deno.cwd();
  assertEquals(normalize(pwd), pwd);
});
