mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: fix helper-debugger-repl.js
The test `debugger/test-debugger-repl-break-in-module` (and probably others) was failing because the handshake message for debugging is no longer `listening on port <port>` but is instead `listening on <address>:<port>`. This change makes the check less strict so as to hopefully future-proof it at least a little bit against subsequent changes. This test failure is not caught in CI because currently debugger tests are not run in CI. PR-URL: https://github.com/nodejs/node/pull/9486 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <jmwsoft@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
This commit is contained in:
1 parent
f5442ece33
commit
ee7606940a
1 file changed
+1
-1
@@ -108,7 +108,7 @@ function addTest(input, output) {
|
||||
}
|
||||
|
||||
var handshakeLines = [
|
||||
/listening on port \d+/,
|
||||
/listening on /,
|
||||
/connecting.* ok/
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user