summaryrefslogtreecommitdiff
path: root/cli/js/os_test.ts
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2020-01-05 09:19:29 -0500
committerGitHub <noreply@github.com>2020-01-05 09:19:29 -0500
commit5f1df038fb1462607af3555fa7431c05ca484dce (patch)
tree0e819c1e1ec422b9573abc379c79fcbcc1cbd88c /cli/js/os_test.ts
parentc41280a057c9ca300afe43f2cb4f576e050f8cde (diff)
Replace libdeno with rusty_v8 (#3556)
Diffstat (limited to 'cli/js/os_test.ts')
-rw-r--r--cli/js/os_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/js/os_test.ts b/cli/js/os_test.ts
index 93ba18ae6..6d9309000 100644
--- a/cli/js/os_test.ts
+++ b/cli/js/os_test.ts
@@ -248,9 +248,8 @@ testPerm({ env: true }, function getDir(): void {
for (const r of s.runtime) {
if (Deno.build.os !== r.os) continue;
if (r.shouldHaveValue) {
- assertNotEquals(Deno.dir(s.kind), "");
- } else {
- assertEquals(Deno.dir(s.kind), null);
+ const d = Deno.dir(s.kind);
+ assert(d.length > 0);
}
}
}