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 <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
  • Loading branch information
richardlau authored and targos committed Feb 19, 2024
1 parent 7fa3081 commit d7563a5
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 d7563a5

Please sign in to comment.