diff options
author | 2023-01-31 17:55:16 -0800 | |
---|---|---|
committer | 2023-01-31 17:55:16 -0800 | |
commit | cc4326cd829decc95d1f1f23998f97705637e04b (patch) | |
tree | 9ccaa829b6d48af521d5e5fcdbabc0dac8d186af /test/bun.js/crypto-scrypt.test.js | |
parent | c57b37d29f9d04780c7f7917789cf8b424710d23 (diff) | |
download | bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.gz bun-cc4326cd829decc95d1f1f23998f97705637e04b.tar.zst bun-cc4326cd829decc95d1f1f23998f97705637e04b.zip |
Re-run prettier after changes
Diffstat (limited to 'test/bun.js/crypto-scrypt.test.js')
-rw-r--r-- | test/bun.js/crypto-scrypt.test.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/bun.js/crypto-scrypt.test.js b/test/bun.js/crypto-scrypt.test.js index 4b9f632c0..e188e9fae 100644 --- a/test/bun.js/crypto-scrypt.test.js +++ b/test/bun.js/crypto-scrypt.test.js @@ -185,10 +185,7 @@ it("scrypt bad", () => { const expected = { message: /Invalid scrypt param/, }; - assert.throws( - () => crypto.scryptSync("pass", "salt", 1, options), - expected, - ); + assert.throws(() => crypto.scryptSync("pass", "salt", 1, options), expected); } }); @@ -197,10 +194,7 @@ it("scrypt toobig", () => { const expected = { message: /Invalid scrypt param/, }; - assert.throws( - () => crypto.scryptSync("pass", "salt", 1, options), - expected, - ); + assert.throws(() => crypto.scryptSync("pass", "salt", 1, options), expected); } }); |