Skip to content

Commit 34ad51b

Browse files
panvapull[bot]
authored andcommitted
test: fixup flaky test-crypto-x509
PR-URL: #37709 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
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)