Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 34ad51b

Browse files
panvapull[bot]
authored andcommittedJul 18, 2021
test: fixup flaky test-crypto-x509
PR-URL: nodejs#37709 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent aec8454 commit 34ad51b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎test/parallel/test-crypto-x509.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ const der = Buffer.from(
110110
assert(x509.publicKey);
111111
assert.strictEqual(x509.publicKey.type, 'public');
112112

113-
assert.strictEqual(x509.toString().replaceAll('\r\n', '\n'), cert.toString());
113+
assert.strictEqual(x509.toString().replaceAll('\r\n', '\n'),
114+
cert.toString().replaceAll('\r\n', '\n'));
114115
assert.strictEqual(x509.toJSON(), x509.toString());
115116

116117
assert(x509.checkPrivateKey(privateKey));

0 commit comments

Comments
 (0)
Please sign in to comment.