diff options
Diffstat (limited to 'tests/016_double_await.ts')
-rw-r--r-- | tests/016_double_await.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/016_double_await.ts b/tests/016_double_await.ts index 367767736..12dfeeba4 100644 --- a/tests/016_double_await.ts +++ b/tests/016_double_await.ts @@ -1,10 +1,8 @@ -import * as deno from "deno"; - // This is to test if Deno would die at 2nd await // See https://github.com/denoland/deno/issues/919 (async () => { - const currDirInfo = await deno.stat("."); - const parentDirInfo = await deno.stat(".."); + const currDirInfo = await Deno.stat("."); + const parentDirInfo = await Deno.stat(".."); console.log(currDirInfo.isDirectory()); console.log(parentDirInfo.isFile()); })(); |