Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fixup flaky test-crypto-x509 on windows
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
commit 433afd9e3969481917237f340cf7900269c4acf0
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-x509.js
Original file line number Diff line number Diff line change
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