diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 17:24:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-11 17:24:27 +0100 |
| commit | 61273085e40fb4d992eef4b1b5601e3567c80664 (patch) | |
| tree | 1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/uuid/tests/v4 | |
| parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) | |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/uuid/tests/v4')
| -rw-r--r-- | std/uuid/tests/v4/generate.ts | 2 | ||||
| -rw-r--r-- | std/uuid/tests/v4/validate.ts | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/std/uuid/tests/v4/generate.ts b/std/uuid/tests/v4/generate.ts index dfbd90c03..c9946d46c 100644 --- a/std/uuid/tests/v4/generate.ts +++ b/std/uuid/tests/v4/generate.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../../../testing/asserts.ts"; -import { test } from "../../../testing/mod.ts"; +const { test } = Deno; import { generate, validate } from "../../v4.ts"; test({ diff --git a/std/uuid/tests/v4/validate.ts b/std/uuid/tests/v4/validate.ts index 6a8b66555..feeecf6b7 100644 --- a/std/uuid/tests/v4/validate.ts +++ b/std/uuid/tests/v4/validate.ts @@ -1,9 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert } from "../../../testing/asserts.ts"; -import { test } from "../../../testing/mod.ts"; import { generate, validate } from "../../v4.ts"; -test({ +Deno.test({ name: "[UUID] is_valid_uuid_v4", fn(): void { const u = generate(); |
