summaryrefslogtreecommitdiff
path: root/fs/ensure_symlink_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ensure_symlink_test.ts')
-rw-r--r--fs/ensure_symlink_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ensure_symlink_test.ts b/fs/ensure_symlink_test.ts
index d769615fb..4dee56788 100644
--- a/fs/ensure_symlink_test.ts
+++ b/fs/ensure_symlink_test.ts
@@ -10,7 +10,7 @@ import { ensureSymlink, ensureSymlinkSync } from "./ensure_symlink.ts";
import * as path from "./path/mod.ts";
const testdataDir = path.resolve("fs", "testdata");
-const isWindows = Deno.platform.os === "win";
+const isWindows = Deno.build.os === "win";
test(async function ensureSymlinkIfItNotExist(): Promise<void> {
const testDir = path.join(testdataDir, "link_file_1");