diff options
Diffstat (limited to 'cli/tests/016_double_await.ts')
-rw-r--r-- | cli/tests/016_double_await.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/016_double_await.ts b/cli/tests/016_double_await.ts new file mode 100644 index 000000000..9b4801567 --- /dev/null +++ b/cli/tests/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 (): Promise<void> => { + const currDirInfo = await Deno.stat("."); + const parentDirInfo = await Deno.stat(".."); + console.log(currDirInfo.isDirectory()); + console.log(parentDirInfo.isFile()); +})(); |