Skip to content

Commit 607f545

Browse files
targosMyles Borins
authored and
Myles Borins
committedFeb 15, 2016
test: fix style issues after eslint update
Replace var keyword with const or let. PR-URL: #2286 Reviewed-By: Roman Reiss <[email protected]>
1 parent 066d5e7 commit 607f545

File tree

109 files changed

+943
-896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+943
-896
lines changed
 

‎test/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ exports.getServiceName = function getServiceName(port, protocol) {
437437
if (matches && matches.length > 1) {
438438
serviceName = matches[1];
439439
}
440-
} catch(e) {
440+
} catch (e) {
441441
console.error('Cannot read file: ', etcServicesFileName);
442442
return undefined;
443443
}

‎test/debugger/test-debugger-repl-break-in-module.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ repl.addTest('sb(")^$*+?}{|][(.js\\\\", 1)', [
2020

2121
// continue - the breakpoint should be triggered
2222
repl.addTest('c', [
23-
/break in .*[\\\/]mod\.js:23/,
24-
/21/, /22/, /23/, /24/, /25/
23+
/break in .*[\\\/]mod\.js:23/,
24+
/21/, /22/, /23/, /24/, /25/
2525
]);
2626

2727
// -- RESTORE BREAKPOINT ON RESTART --

0 commit comments

Comments
 (0)
Please sign in to comment.