summaryrefslogtreecommitdiff
path: root/cli/tests/unit/sync_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/sync_test.ts')
-rw-r--r--cli/tests/unit/sync_test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/tests/unit/sync_test.ts b/cli/tests/unit/sync_test.ts
index 65c2a9764..4e01000ad 100644
--- a/cli/tests/unit/sync_test.ts
+++ b/cli/tests/unit/sync_test.ts
@@ -1,7 +1,7 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-import { assertEquals, unitTest } from "./test_util.ts";
+import { assertEquals } from "./test_util.ts";
-unitTest(
+Deno.test(
{ permissions: { read: true, write: true } },
function fdatasyncSyncSuccess() {
const filename = Deno.makeTempDirSync() + "/test_fdatasyncSync.txt";
@@ -19,7 +19,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{ permissions: { read: true, write: true } },
async function fdatasyncSuccess() {
const filename = (await Deno.makeTempDir()) + "/test_fdatasync.txt";
@@ -37,7 +37,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{ permissions: { read: true, write: true } },
function fsyncSyncSuccess() {
const filename = Deno.makeTempDirSync() + "/test_fsyncSync.txt";
@@ -55,7 +55,7 @@ unitTest(
},
);
-unitTest(
+Deno.test(
{ permissions: { read: true, write: true } },
async function fsyncSuccess() {
const filename = (await Deno.makeTempDir()) + "/test_fsync.txt";