Skip to content

Commit 99c1590

Browse files
jasnellruyadorno
authored andcommitted
test: fixup flaky test-crypto-x509 on windows
PR-URL: #36966 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent aa7243e commit 99c1590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-crypto-x509.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const der = Buffer.from(
110110
assert(x509.publicKey);
111111
assert.strictEqual(x509.publicKey.type, 'public');
112112

113-
assert.strictEqual(x509.toString(), cert.toString());
113+
assert.strictEqual(x509.toString().replaceAll('\r\n', '\n'), cert.toString());
114114
assert.strictEqual(x509.toJSON(), x509.toString());
115115

116116
assert(x509.checkPrivateKey(privateKey));

0 commit comments

Comments
 (0)