diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-09-16 13:35:16 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-16 13:35:16 -0700 |
commit | b0958073ba426db9636a98900a153af857e129c1 (patch) | |
tree | 0365012736578e8dd6ab7931a6ca542d88f5fb25 /js/mkdir_test.ts | |
parent | 00404865395696fa38e544621ad67a9c2da2f455 (diff) |
Remove remove_timer asserts (#760)
* Remove remove_timer asserts
* Add clearTimeout invalid id no-panic test
* Move timer test to its file AND some lint side-effects
Diffstat (limited to 'js/mkdir_test.ts')
-rw-r--r-- | js/mkdir_test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/mkdir_test.ts b/js/mkdir_test.ts index 4f82401dc..27da93c16 100644 --- a/js/mkdir_test.ts +++ b/js/mkdir_test.ts @@ -13,7 +13,8 @@ testPerm({ write: true }, function mkdirSyncMode() { const path = deno.makeTempDirSync() + "/dir/subdir"; deno.mkdirSync(path, 0o755); // no perm for x const pathInfo = deno.statSync(path); - if (pathInfo.mode !== null) { // Skip windows + if (pathInfo.mode !== null) { + // Skip windows assertEqual(pathInfo.mode & 0o777, 0o755); } }); |