mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
53aed8838c
commit
68fd5cbd5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user