Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 34ad51b

Browse filesBrowse 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
Copy full SHA for 34ad51b

1 file changed

+2-1Lines changed: 2 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-x509.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.