mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 18:12:39 +00:00
Format
This commit is contained in:
parent
e4990804fa
commit
32f0c37a42
3 changed files with 12 additions and 6 deletions
|
@ -206,8 +206,8 @@ testPerm({ write: false }, function mkdDirSyncPerm() {
|
|||
|
||||
testPerm({ write: true }, function renameSync() {
|
||||
const testDir = deno.makeTempDirSync() + "/test-rename";
|
||||
const oldpath = testDir + "/oldpath"
|
||||
const newpath = testDir + "/newpath"
|
||||
const oldpath = testDir + "/oldpath";
|
||||
const newpath = testDir + "/newpath";
|
||||
deno.mkdirSync(oldpath);
|
||||
deno.renameSync(oldpath, newpath);
|
||||
const newPathInfo = deno.statSync(newpath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue