mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
12 lines
392 B
TypeScript
12 lines
392 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
import { assertEquals } from "@std/assert";
|
|
import { normalizeGlob } from "./normalize_glob.ts";
|
|
import { SEPARATOR } from "./constants.ts";
|
|
|
|
Deno.test("normalizeGlob() checks options.globstar", function () {
|
|
assertEquals(
|
|
normalizeGlob(`**${SEPARATOR}..`, { globstar: true }),
|
|
`**${SEPARATOR}..`,
|
|
);
|
|
});
|