Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/path/normalize_glob_test.ts

The Deno Standard Library
Go to 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}..`, );});