test: fix internet/test-inspector-help-page

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: https://github.com/nodejs/nodejs.org/pull/6265
PR-URL: https://github.com/nodejs/node/pull/51693
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
Richard Lau authored and Michaël Zasso committed 2024-02-19 14:14:40 +01:00
1 parent 7fa30812ea
commit d7563a5448
1 file changed
+1 -1
+1 -1
View File
@@ -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);