deno.land / std@0.91.0 / uuid / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.import { assert } from "../testing/asserts.ts";import { isNil, NIL_UUID } from "./mod.ts";
Deno.test("[UUID] isNil", () => { const nil = NIL_UUID; const u = "582cbcff-dad6-4f28-888a-e062ae36bafc"; assert(isNil(nil)); assert(!isNil(u));});
std

Version Info

Tagged at
3 years ago

External Dependencies

No external dependencies 🎉