| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2a00ef5 commit 0be15ce
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,7 @@ tests['fs.sync.chmod'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |||
| 23 | 23 | 'fs.chmodSync("fs.txt",100);' + | |
| 24 | 24 | 'fs.unlinkSync("fs.txt")'; | |
| 25 | 25 | tests['fs.sync.chown'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 26 | - 'fs.chownSync("fs.txt",' + uid + ',' + gid + ');' + | ||
| 26 | + `fs.chownSync("fs.txt", ${uid}, ${gid});` + | ||
| 27 | 27 | 'fs.unlinkSync("fs.txt")'; | |
| 28 | 28 | tests['fs.sync.close'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 29 | 29 | 'fs.unlinkSync("fs.txt")'; | |
@@ -36,7 +36,7 @@ tests['fs.sync.fchmod'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |||
| 36 | 36 | 'fs.unlinkSync("fs.txt")'; | |
| 37 | 37 | tests['fs.sync.fchown'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 38 | 38 | 'const fd = fs.openSync("fs.txt", "r+");' + | |
| 39 | - 'fs.fchownSync(fd,' + uid + ',' + gid + ');' + | ||
| 39 | + `fs.fchownSync(fd, ${uid}, ${gid});` + | ||
| 40 | 40 | 'fs.unlinkSync("fs.txt")'; | |
| 41 | 41 | tests['fs.sync.fdatasync'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 42 | 42 | 'const fd = fs.openSync("fs.txt", "r+");' + | |
@@ -58,7 +58,7 @@ tests['fs.sync.futimes'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |||
| 58 | 58 | 'fs.futimesSync(fd,1,1);' + | |
| 59 | 59 | 'fs.unlinkSync("fs.txt")'; | |
| 60 | 60 | tests['fs.sync.lchown'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 61 | - 'fs.lchownSync("fs.txt",' + uid + ',' + gid + ');' + | ||
| 61 | + `fs.lchownSync("fs.txt", ${uid}, ${gid});` + | ||
| 62 | 62 | 'fs.unlinkSync("fs.txt")'; | |
| 63 | 63 | tests['fs.sync.link'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' + | |
| 64 | 64 | 'fs.linkSync("fs.txt", "linkx");' + | |
| Back | FazBrowse Home | New Git URL |
0 commit comments