Skip to content

Commit

Permalink
test: fixup flaky test-crypto-x509 on windows
Browse files Browse the repository at this point in the history
PR-URL: #36966
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
jasnell authored and aduh95 committed Jan 16, 2021
1 parent e39a3f8 commit 433afd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-x509.js
Expand Up @@ -110,7 +110,7 @@ const der = Buffer.from(
assert(x509.publicKey);
assert.strictEqual(x509.publicKey.type, 'public');

assert.strictEqual(x509.toString(), cert.toString());
assert.strictEqual(x509.toString().replaceAll('\r\n', '\n'), cert.toString());
assert.strictEqual(x509.toJSON(), x509.toString());

assert(x509.checkPrivateKey(privateKey));
Expand Down

0 comments on commit 433afd9

Please sign in to comment.