diff options
author | silverwind <me@silverwind.io> | 2016-04-09 18:01:08 +0200 |
---|---|---|
committer | silverwind <me@silverwind.io> | 2016-04-10 11:47:04 +0200 |
commit | ffe5c8385eee009940dd59f5dd3832c792b1a7c2 (patch) | |
tree | 6896d445235769fb5a68eef9c47a95405a139f97 /test/parallel/test-timers-immediate.js | |
parent | 2f6ff1bb64ac4f3e201039c8e83f8eb95f73c769 (diff) | |
download | node-new-ffe5c8385eee009940dd59f5dd3832c792b1a7c2.tar.gz |
test: fix issues for ESLint 2.7.0
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-timers-immediate.js')
-rw-r--r-- | test/parallel/test-timers-immediate.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/parallel/test-timers-immediate.js b/test/parallel/test-timers-immediate.js index 40e91a0998..4512ff47fb 100644 --- a/test/parallel/test-timers-immediate.js +++ b/test/parallel/test-timers-immediate.js @@ -5,7 +5,6 @@ var assert = require('assert'); let immediateA = false; let immediateB = false; let immediateC = []; -let before; setImmediate(function() { try { @@ -16,7 +15,7 @@ setImmediate(function() { clearImmediate(immediateB); }); -before = process.hrtime(); +const before = process.hrtime(); immediateB = setImmediate(function() { immediateB = true; |