mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
11 lines
337 B
TypeScript
11 lines
337 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
import { assertEquals } from "@std/assert";
|
|
import { normalize } from "./normalize.ts";
|
|
|
|
Deno.test(`normalize() returns "." if input is empty`, function () {
|
|
assertEquals(normalize(""), ".");
|
|
|
|
const pwd = Deno.cwd();
|
|
assertEquals(normalize(pwd), pwd);
|
|
});
|