From a42ac2851185c0d8461e10e5a51072aa75fda2e0 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 29 Aug 2026 23:04:18 -0700 Subject: [PATCH] Delete useless escapes --- test/index.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.test.js b/test/index.test.js index 8037c16..37a0f8d 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -103,7 +103,7 @@ suite('encrypt', () => { const envFile = await setupEnv(t, ENCRYPTED_ENV); assertConsole(t, { debug: 0, info: 0, warn: 0, error: 0 }); - await rejects(encrypt({ inFile: envFile, alreadyEncryptedValue: 'error' }), /Environment variable \".+\" is already encrypted\./); + await rejects(encrypt({ inFile: envFile, alreadyEncryptedValue: 'error' }), /Environment variable ".+" is already encrypted\./); }); test('throws if unable to get passkey', async (t) => { t.mock.timers.enable({ apis: ['setTimeout'] }); @@ -154,7 +154,7 @@ suite('decrypt', () => { const envFile = await setupEnv(t, STD_ENV); assertConsole(t, { debug: 0, info: 0, warn: 0, error: 0 }); - await rejects(decrypt({ inFile: envFile, notEncryptedValue: 'error' }), /Environment variable \".+\" is not encrypted\./); + await rejects(decrypt({ inFile: envFile, notEncryptedValue: 'error' }), /Environment variable ".+" is not encrypted\./); }); test('throws if unable to get passkey', async (t) => { t.mock.timers.enable({ apis: ['setTimeout'] }); -- 2.47.3