deno.land / std@0.201.0 / semver / test_comparator_test.ts

test_comparator_test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright Isaac Z. Schlueter and Contributors. All rights reserved. ISC license.// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.import { assert } from "../assert/mod.ts";import { parse } from "./parse.ts";import { parseComparator } from "./parse_comparator.ts";import { testComparator } from "./test_comparator.ts";
Deno.test("test", function () { const c = parseComparator(">=1.2.3"); assert(testComparator(parse("1.2.4"), c));});
std

Version Info

Tagged at
a year ago