summaryrefslogtreecommitdiff
path: root/js/platform_test.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-03-06 13:54:58 -0800
committerRyan Dahl <ry@tinyclouds.org>2019-03-06 16:54:58 -0500
commitde1a10e5f7afe793a66b2349642ea135fc066104 (patch)
tree3d91d82a62808f744fc189705110a50d7d8d478e /js/platform_test.ts
parent91364cabae8687e7620edac406b43cb40cb55878 (diff)
Reorganize version and platform into Deno.build and Deno.version (#1879)
Diffstat (limited to 'js/platform_test.ts')
-rw-r--r--js/platform_test.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/js/platform_test.ts b/js/platform_test.ts
deleted file mode 100644
index 0149ef7a5..000000000
--- a/js/platform_test.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
-import { test, assert } from "./test_util.ts";
-
-test(function platformTransform() {
- // deno.platform is injected by rollup at compile time. Here
- // we check it has been properly transformed.
- const { arch, os } = Deno.platform;
- assert(arch === "x64");
- assert(os === "mac" || os === "win" || os === "linux");
-});