summaryrefslogtreecommitdiff
path: root/cli/tests/unit/link_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/link_test.ts')
-rw-r--r--cli/tests/unit/link_test.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/tests/unit/link_test.ts b/cli/tests/unit/link_test.ts
index 5d3553ac3..1688b53f1 100644
--- a/cli/tests/unit/link_test.ts
+++ b/cli/tests/unit/link_test.ts
@@ -2,7 +2,7 @@
import { assert, assertEquals, assertThrows, unitTest } from "./test_util.ts";
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
function linkSyncSuccess() {
const testDir = Deno.makeTempDirSync();
const oldData = "Hardlink";
@@ -41,7 +41,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
function linkSyncExists() {
const testDir = Deno.makeTempDirSync();
const oldName = testDir + "/oldname";
@@ -57,7 +57,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
function linkSyncNotFound() {
const testDir = Deno.makeTempDirSync();
const oldName = testDir + "/oldname";
@@ -70,7 +70,7 @@ unitTest(
);
unitTest(
- { perms: { read: false, write: true } },
+ { permissions: { read: false, write: true } },
function linkSyncReadPerm() {
assertThrows(() => {
Deno.linkSync("oldbaddir", "newbaddir");
@@ -79,7 +79,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: false } },
+ { permissions: { read: true, write: false } },
function linkSyncWritePerm() {
assertThrows(() => {
Deno.linkSync("oldbaddir", "newbaddir");
@@ -88,7 +88,7 @@ unitTest(
);
unitTest(
- { perms: { read: true, write: true } },
+ { permissions: { read: true, write: true } },
async function linkSuccess() {
const testDir = Deno.makeTempDirSync();
const oldData = "Hardlink";