summaryrefslogtreecommitdiff
path: root/js/symlink_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/symlink_test.ts')
-rw-r--r--js/symlink_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/symlink_test.ts b/js/symlink_test.ts
index 10d4fe738..bce1f6ae5 100644
--- a/js/symlink_test.ts
+++ b/js/symlink_test.ts
@@ -14,7 +14,7 @@ testPerm({ read: true, write: true }, function symlinkSyncSuccess(): void {
errOnWindows = e;
}
if (errOnWindows) {
- assertEquals(Deno.platform.os, "win");
+ assertEquals(Deno.build.os, "win");
assertEquals(errOnWindows.kind, Deno.ErrorKind.Other);
assertEquals(errOnWindows.message, "Not implemented");
} else {
@@ -49,7 +49,7 @@ testPerm({ write: true }, function symlinkSyncNotImplemented(): void {
err = e;
}
if (err) {
- assertEquals(Deno.platform.os, "win");
+ assertEquals(Deno.build.os, "win");
assertEquals(err.message, "Not implemented");
}
});