Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash: nit
  • Loading branch information
Trott committed Nov 6, 2016
commit 64c8a1985b5b9a087e3233cbfeade60e2522372b
6 changes: 3 additions & 3 deletions test/sequential/test-regress-GH-897.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
//
// Ref: https://github.com/nodejs/node-v0.x-archive/pull/897

require('../common');
const common = require('../common');
const assert = require('assert');

const t = Date.now();
setTimeout(function() {
setTimeout(common.mustCall(function() {
const diff = Date.now() - t;
assert.ok(diff < 100, `timer fired after ${diff} ms`);
}, 0.1);
}), 0.1);