Skip to main content
Module

std/path/normalize_glob_test.ts

The Deno Standard Library
Latest
File
// 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}..`, );});