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/path/common_test.ts | |
parent | 26bf56afdaf16634ffbaa23684faf3a44cc10f62 (diff) |
refactor: Don't destructure the Deno namespace (#6268)
Diffstat (limited to 'std/path/common_test.ts')
-rw-r--r-- | std/path/common_test.ts | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/std/path/common_test.ts b/std/path/common_test.ts index 63dba38b8..921cf1c99 100644 --- a/std/path/common_test.ts +++ b/std/path/common_test.ts @@ -1,11 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - -const { test } = Deno; import { assertEquals } from "../testing/asserts.ts"; - import { common } from "./mod.ts"; -test({ +Deno.test({ name: "path - common - basic usage", fn() { const actual = common( @@ -20,7 +17,7 @@ test({ }, }); -test({ +Deno.test({ name: "path - common - no shared", fn() { const actual = common( @@ -31,7 +28,7 @@ test({ }, }); -test({ +Deno.test({ name: "path - common - windows sep", fn() { const actual = common( |