diff options
author | 2022-06-20 21:35:22 -0700 | |
---|---|---|
committer | 2022-06-22 06:56:47 -0700 | |
commit | 41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0 (patch) | |
tree | fd1819ed5dfbe58edfe971b7c05c2c59549b8251 /integration/bunjs-only-snippets/crypto.test.js | |
parent | bfa5b2955533a60b2f12e6ac65d4868efcaf5222 (diff) | |
download | bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.gz bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.tar.zst bun-41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0.zip |
Cleanup tests
Diffstat (limited to 'integration/bunjs-only-snippets/crypto.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/crypto.test.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/integration/bunjs-only-snippets/crypto.test.js b/integration/bunjs-only-snippets/crypto.test.js index 2c784e496..c489e11c1 100644 --- a/integration/bunjs-only-snippets/crypto.test.js +++ b/integration/bunjs-only-snippets/crypto.test.js @@ -14,13 +14,13 @@ import { readFileSync } from "fs"; describe("crypto", () => { for (let Hash of [MD5, MD4, SHA1, SHA256, SHA384, SHA512, SHA512_256]) { - for (let input of [ - "hello world", - "hello world".repeat(20).slice(), - "", - "a", + for (let [input, label] of [ + ["hello world", '"hello world"'], + ["hello world".repeat(20).slice(), '"hello world" x 20'], + ["", "empty string"], + ["a", '"a"'], ]) { - describe(input, () => { + describe(label, () => { gc(true); it(`${Hash.name} base64`, () => { |