diff options
Diffstat (limited to 'test/bun.js/some-fs.js')
-rw-r--r-- | test/bun.js/some-fs.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/bun.js/some-fs.js b/test/bun.js/some-fs.js index b22423dc7..c162ed45a 100644 --- a/test/bun.js/some-fs.js +++ b/test/bun.js/some-fs.js @@ -15,9 +15,7 @@ for (let i = 0; i < count; i++) { } if (existsSync(tempdir)) { - throw new Error( - `existsSync reports ${tempdir} exists, but it probably does not`, - ); + throw new Error(`existsSync reports ${tempdir} exists, but it probably does not`); } var origTempDir = tempdir; @@ -39,13 +37,9 @@ for (let i = 0; i < total; i++) { console.log("MKDIR " + total + " depth took:", performance.now() - start, "ms"); if (!existsSync(tempdir)) { - throw new Error( - "Expected directory to exist after mkdirSync, but it doesn't", - ); + throw new Error("Expected directory to exist after mkdirSync, but it doesn't"); } if (mkdirSync(tempdir, { recursive: true })) { - throw new Error( - "mkdirSync shouldn't return directory name on existing directories", - ); + throw new Error("mkdirSync shouldn't return directory name on existing directories"); } |