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: fix http2-binding strictEqual order · nodejs/node@ec70330

File tree

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

‎test/parallel/test-http2-binding.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http2-binding.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,16 +231,16 @@ const defaultSettings = {
231231

232232
for (const name of Object.keys(constants)) {
233233
if (name.startsWith('HTTP_STATUS_')) {
234-
assert.strictEqual(expectedStatusCodes[name], constants[name],
234+
assert.strictEqual(constants[name], expectedStatusCodes[name],
235235
`Expected status code match for ${name}`);
236236
} else if (name.startsWith('HTTP2_HEADER_')) {
237-
assert.strictEqual(expectedHeaderNames[name], constants[name],
237+
assert.strictEqual(constants[name], expectedHeaderNames[name],
238238
`Expected header name match for ${name}`);
239239
} else if (name.startsWith('NGHTTP2_')) {
240-
assert.strictEqual(expectedNGConstants[name], constants[name],
240+
assert.strictEqual(constants[name], expectedNGConstants[name],
241241
`Expected ng constant match for ${name}`);
242242
} else if (name.startsWith('DEFAULT_SETTINGS_')) {
243-
assert.strictEqual(defaultSettings[name], constants[name],
243+
assert.strictEqual(constants[name], defaultSettings[name],
244244
`Expected default setting match for ${name}`);
245245
}
246246
}

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.