summaryrefslogtreecommitdiff
path: root/std/node/os_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-06-12 09:53:53 -0400
committerGitHub <noreply@github.com>2020-06-12 09:53:53 -0400
commite9424bf6b59b4e27c2691b70879cb1de874f98ce (patch)
tree3a11c12f74f1f2e86c38814620961a0532f38812 /std/node/os_test.ts
parentb34f4689430db67d98aa037193a118bc088e48d6 (diff)
Revert "feat: add Deno.osName()" (#6261)
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
Diffstat (limited to 'std/node/os_test.ts')
-rw-r--r--std/node/os_test.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/std/node/os_test.ts b/std/node/os_test.ts
index c67879d23..f0b9ca79d 100644
--- a/std/node/os_test.ts
+++ b/std/node/os_test.ts
@@ -246,6 +246,13 @@ test({
);
assertThrows(
() => {
+ os.type();
+ },
+ Error,
+ "Not implemented"
+ );
+ assertThrows(
+ () => {
os.uptime();
},
Error,