Skip to content

Commit

Permalink
test: fix internet/test-inspector-help-page
Browse files Browse the repository at this point in the history
The webpage at the URL referenced by `node --inspect` was retitled when
it was recently moved.

Update the test to match the new title "Debugging Node.js" (formerly
"Debugging Guide").

Refs: nodejs/nodejs.org#6265
PR-URL: #51693
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
  • Loading branch information
richardlau authored Feb 16, 2024
1 parent 53aed88 commit 68fd5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internet/test-inspector-help-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function check(url, cb) {
});

res.on('end', common.mustCall(() => {
assert.match(result, />Debugging Guide</);
assert.match(result, />Debugging Node\.js</);
cb();
}));
})).on('error', common.mustNotCall);
Expand Down

0 comments on commit 68fd5cb

Please sign in to comment.