diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-06-12 20:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 15:23:38 -0400 |
commit | 1fff6f55c3ba98a10018c6d374795e612061e9b6 (patch) | |
tree | 12074b6d44736b11513d857e437f9e30a6bf65a4 /std/uuid/tests/v1 | |
parent | 26bf56afdaf16634ffbaa23684faf3a44cc10f62 (diff) |
refactor: Don't destructure the Deno namespace (#6268)
Diffstat (limited to 'std/uuid/tests/v1')
-rw-r--r-- | std/uuid/tests/v1/generate.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/std/uuid/tests/v1/generate.ts b/std/uuid/tests/v1/generate.ts index 1e60d91c1..548b81403 100644 --- a/std/uuid/tests/v1/generate.ts +++ b/std/uuid/tests/v1/generate.ts @@ -1,9 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { assert, assertEquals } from "../../../testing/asserts.ts"; -const { test } = Deno; import { generate, validate } from "../../v1.ts"; -test({ +Deno.test({ name: "[UUID] test_uuid_v1", fn(): void { const u = generate(); @@ -12,7 +11,7 @@ test({ }, }); -test({ +Deno.test({ name: "[UUID] test_uuid_v1_format", fn(): void { for (let i = 0; i < 10000; i++) { @@ -22,7 +21,7 @@ test({ }, }); -test({ +Deno.test({ name: "[UUID] test_uuid_v1_static", fn(): void { const v1options = { |