deno.land / std@0.224.0 / path / normalize_test.ts

normalize_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { assertEquals } from "../assert/mod.ts";import { normalize } from "./normalize.ts";
Deno.test(`normalize() returns "." if input is empty`, function () { assertEquals(normalize(""), ".");
const pwd = Deno.cwd(); assertEquals(normalize(pwd), pwd);});
std

Version Info

Tagged at
6 months ago