diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2afbd1256..7c08a65d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ jobs: fail-fast: false matrix: node-version: + - 17 - 16 - 14 os: diff --git a/test/https.ts b/test/https.ts index 122e1a5df..608b2cb45 100644 --- a/test/https.ts +++ b/test/https.ts @@ -415,7 +415,7 @@ test('invalid key passphrase', withHttpsServer(), async (t, server, got) => { }); const {code}: NodeJS.ErrnoException = await t.throwsAsync(request); - t.true(code === 'ERR_OSSL_BAD_DECRYPT' || code === 'ERR_OSSL_EVP_BAD_DECRYPT'); + t.true(code === 'ERR_OSSL_BAD_DECRYPT' || code === 'ERR_OSSL_EVP_BAD_DECRYPT', code); }); test('client certificate PFX', withHttpsServer(), async (t, server, got) => {