From e97c610850e68e7871db0aefc50142e7c605ba8e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 5 Nov 2016 19:20:17 -0700 Subject: [PATCH] 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 ` but is instead `listening on
:`. 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 Reviewed-By: Santiago Gimeno Reviewed-By: James M Snell Reviewed-By: Minwoo Jung Reviewed-By: Prince John Wesley --- test/debugger/helper-debugger-repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/debugger/helper-debugger-repl.js b/test/debugger/helper-debugger-repl.js index d7a5e745de0ebd..602ab1c05e53d6 100644 --- a/test/debugger/helper-debugger-repl.js +++ b/test/debugger/helper-debugger-repl.js @@ -108,7 +108,7 @@ function addTest(input, output) { } var handshakeLines = [ - /listening on port \d+/, + /listening on /, /connecting.* ok/ ];