summaryrefslogtreecommitdiff
path: root/fs/copy_test.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2019-09-10 02:58:36 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-09-09 13:58:36 -0400
commit7b22dec0fa6c83e0bd8f6ebee38c05001b61e408 (patch)
tree52e684e01eb91c755dfdb7c8bcf1b9cbf9e6b6af /fs/copy_test.ts
parentd7f3e28eed8c75e51b90647741ec882ff8cdf814 (diff)
fix: replace Deno.platform usages (denoland/deno_std#590)
Original: https://github.com/denoland/deno_std/commit/0e6f163ac6a5a03f45a90960a6f1193ee2718fe3
Diffstat (limited to 'fs/copy_test.ts')
-rw-r--r--fs/copy_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/copy_test.ts b/fs/copy_test.ts
index 09aae0ff6..a11838c4b 100644
--- a/fs/copy_test.ts
+++ b/fs/copy_test.ts
@@ -16,7 +16,7 @@ import { ensureSymlink, ensureSymlinkSync } from "./ensure_symlink.ts";
const testdataDir = path.resolve("fs", "testdata");
// TODO(axetroy): Add test for Windows once symlink is implemented for Windows.
-const isWindows = Deno.platform.os === "win";
+const isWindows = Deno.build.os === "win";
async function testCopy(
name: string,