mirror of
https://github.com/denoland/deno.git
synced 2025-07-29 16:13:54 +00:00
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
This commit is contained in:
parent
0040486539
commit
b0958073ba
5 changed files with 104 additions and 11 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue