diff options
author | Michaƫl Zasso <mic.besace@gmail.com> | 2016-01-13 21:42:45 +0100 |
---|---|---|
committer | Myles Borins <mborins@us.ibm.com> | 2016-02-15 11:30:23 -0800 |
commit | 607f545568b8ce6c066bb151889da70a0c68aed2 (patch) | |
tree | 1230d85e96d2174a51a4a6b90dfbf2b2a67d66b7 /test/debugger | |
parent | 066d5e7da20e7acac2ed839e6ffecaf5b7e9f3b1 (diff) | |
download | nodejs-607f545568b8ce6c066bb151889da70a0c68aed2.tar.gz nodejs-607f545568b8ce6c066bb151889da70a0c68aed2.tar.bz2 nodejs-607f545568b8ce6c066bb151889da70a0c68aed2.zip |
test: fix style issues after eslint update
Replace var keyword with const or let.
PR-URL: https://github.com/nodejs/io.js/pull/2286
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/debugger')
-rw-r--r-- | test/debugger/test-debugger-repl-break-in-module.js | 4 | ||||
-rw-r--r-- | test/debugger/test-debugger-repl-restart.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/debugger/test-debugger-repl-break-in-module.js b/test/debugger/test-debugger-repl-break-in-module.js index e3f998eb6..e439e08c2 100644 --- a/test/debugger/test-debugger-repl-break-in-module.js +++ b/test/debugger/test-debugger-repl-break-in-module.js @@ -20,8 +20,8 @@ repl.addTest('sb(")^$*+?}{|][(.js\\\\", 1)', [ // continue - the breakpoint should be triggered repl.addTest('c', [ - /break in .*[\\\/]mod\.js:23/, - /21/, /22/, /23/, /24/, /25/ + /break in .*[\\\/]mod\.js:23/, + /21/, /22/, /23/, /24/, /25/ ]); // -- RESTORE BREAKPOINT ON RESTART -- diff --git a/test/debugger/test-debugger-repl-restart.js b/test/debugger/test-debugger-repl-restart.js index 584cb098b..206cd2e74 100644 --- a/test/debugger/test-debugger-repl-restart.js +++ b/test/debugger/test-debugger-repl-restart.js @@ -4,7 +4,7 @@ var repl = require('./helper-debugger-repl.js'); repl.startDebugger('breakpoints.js'); var linesWithBreakpoint = [ - /1/, /2/, /3/, /4/, /5/, /\* 6/ + /1/, /2/, /3/, /4/, /5/, /\* 6/ ]; // We slice here, because addTest will change the given array. repl.addTest('sb(6)', linesWithBreakpoint.slice()); |