diff options
Diffstat (limited to 'tests/specs/run/_016_double_await/016_double_await.ts')
-rw-r--r-- | tests/specs/run/_016_double_await/016_double_await.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/run/_016_double_await/016_double_await.ts b/tests/specs/run/_016_double_await/016_double_await.ts new file mode 100644 index 000000000..457a53ff3 --- /dev/null +++ b/tests/specs/run/_016_double_await/016_double_await.ts @@ -0,0 +1,8 @@ +// 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(".."); + console.log(currDirInfo.isDirectory); + console.log(parentDirInfo.isFile); +})(); |