From 5f1df038fb1462607af3555fa7431c05ca484dce Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Sun, 5 Jan 2020 09:19:29 -0500 Subject: Replace libdeno with rusty_v8 (#3556) --- cli/js/os_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cli/js') 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); } } } -- cgit v1.2.3