aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/crypto.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/crypto.test.js')
-rw-r--r--integration/bunjs-only-snippets/crypto.test.js12
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`, () => {