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 2024-02-16 04:09:27 +00:00 committed by GitHub
parent 53aed8838c
commit 68fd5cbd5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);