From 1fff6f55c3ba98a10018c6d374795e612061e9b6 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 12 Jun 2020 20:23:38 +0100 Subject: refactor: Don't destructure the Deno namespace (#6268) --- std/node/_fs/_fs_chown_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'std/node/_fs/_fs_chown_test.ts') diff --git a/std/node/_fs/_fs_chown_test.ts b/std/node/_fs/_fs_chown_test.ts index 1c1393ac4..de7dd992f 100644 --- a/std/node/_fs/_fs_chown_test.ts +++ b/std/node/_fs/_fs_chown_test.ts @@ -1,5 +1,4 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -const { test } = Deno; import { fail, assertEquals } from "../../testing/asserts.ts"; import { chown, chownSync } from "./_fs_chown.ts"; @@ -7,7 +6,7 @@ import { chown, chownSync } from "./_fs_chown.ts"; // id again const ignore = Deno.build.os == "windows"; -test({ +Deno.test({ ignore, name: "ASYNC: setting existing uid/gid works as expected (non-Windows)", async fn() { @@ -35,7 +34,7 @@ test({ }, }); -test({ +Deno.test({ ignore, name: "SYNC: setting existing uid/gid works as expected (non-Windows)", fn() { -- cgit v1.2.3