diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-12-12 02:31:18 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-12 02:31:18 -0500 |
commit | 585de35b1d472a94fb2652fce1f2cc32077f7814 (patch) | |
tree | 6bf07518f2c94258260b6fe234862b876559b31a /js/read_dir_test.ts | |
parent | a8c3b448049912ead5ba025fee9568dcc0786573 (diff) |
readDir entry mode (#1326)
Diffstat (limited to 'js/read_dir_test.ts')
-rw-r--r-- | js/read_dir_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/read_dir_test.ts b/js/read_dir_test.ts index cc63eb038..277547048 100644 --- a/js/read_dir_test.ts +++ b/js/read_dir_test.ts @@ -14,6 +14,7 @@ function assertSameContent(files: FileInfo[]) { if (file.name === "002_hello.ts") { assertEqual(file.path, `tests/${file.name}`); + assertEqual(file.mode!, deno.statSync(`tests/${file.name}`).mode!); counter++; } } |