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

normalize_glob_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { assertEquals } from "../assert/mod.ts";import { normalizeGlob } from "./normalize_glob.ts";import { SEPARATOR } from "./constants.ts";
Deno.test("normalizeGlob() checks options.globstar", function () { assertEquals( normalizeGlob(`**${SEPARATOR}..`, { globstar: true }), `**${SEPARATOR}..`, );});
std

Version Info

Tagged at
6 months ago