GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove sha from test expectations · nodejs/node@85ffc2f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-crypto.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-crypto.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ const noCapitals = /^[^A-Z]+$/;
132132
assert(tlsCiphers.every((value) => noCapitals.test(value)));
133133
validateList(tlsCiphers);
134134

135-
// Assert that we have sha and sha1 but not SHA and SHA1.
135+
// Assert that we have sha1 and sha256 but not SHA1 and SHA256.
136136
assert.notStrictEqual(0, crypto.getHashes().length);
137137
assert(crypto.getHashes().includes('sha1'));
138-
assert(crypto.getHashes().includes('sha'));
138+
assert(crypto.getHashes().includes('sha256'));
139139
assert(!crypto.getHashes().includes('SHA1'));
140-
assert(!crypto.getHashes().includes('SHA'));
140+
assert(!crypto.getHashes().includes('SHA256'));
141141
assert(crypto.getHashes().includes('RSA-SHA1'));
142142
assert(!crypto.getHashes().includes('rsa-sha1'));
143143
validateList(crypto.getHashes());

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.