From 41b03b5c4c426bd3f2a3c7c6aaf454cee11744f0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Mon, 20 Jun 2022 21:35:22 -0700 Subject: Cleanup tests --- integration/bunjs-only-snippets/crypto.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'integration/bunjs-only-snippets/crypto.test.js') 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`, () => { -- cgit v1.2.3