Skip to content

Commit

Permalink
Update https.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 10, 2020
1 parent 95c84c5 commit b19ee2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/https.ts
Expand Up @@ -115,7 +115,7 @@ test('https request with `checkServerIdentity` NOT OK', withHttpsServer(), async
);
});

// Default openssl on MacOS does not support negative days
// The built-in `openssl` on macOS does not support negative days.
if (process.platform !== 'darwin') {
test('https request with expired certificate', withHttpsServer({days: -1}), async (t, _server, got) => {
await t.throwsAsync(
Expand Down

0 comments on commit b19ee2e

Please sign in to comment.