Skip to content

Commit

Permalink
test,benchmark: fix lint errors on v6.x
Browse files Browse the repository at this point in the history
PR-URL: #9029
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
Fishrock123 committed Oct 11, 2016
1 parent 688abac commit 5a7dd18
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,3 @@ exports.v8ForceOptimization = function(method, ...args) {
method.apply(null, args);
return eval('%GetOptimizationStatus(method)');
};

1 change: 0 additions & 1 deletion benchmark/http/http_server_for_chunky_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ try {
} catch (e) {
throw new Error('error: ' + e);
}

1 change: 0 additions & 1 deletion benchmark/idle_clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ setInterval(function() {
console.log('CLIENT %d errors: %d', process.pid, errors);
}
}, 1000);

4 changes: 2 additions & 2 deletions test/parallel/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ function isWarned(emitter) {
assert.equal(readline.codePointAt('ABC', 0), 0x41);
assert.equal(readline.codePointAt('あいう', 1), 0x3044);
assert.equal(readline.codePointAt('\ud800\udc00', 0), // surrogate
0x10000);
0x10000);
assert.equal(readline.codePointAt('\ud800\udc00A', 2), // surrogate
0x41);
0x41);
assert.equal(readline.getStringWidth('abcde'), 5);
assert.equal(readline.getStringWidth('古池や'), 6);
assert.equal(readline.getStringWidth('ノード.js'), 9);
Expand Down

0 comments on commit 5a7dd18

Please sign in to comment.