summaryrefslogtreecommitdiff
path: root/test/addons/make-callback-recurse/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/addons/make-callback-recurse/test.js')
-rw-r--r--test/addons/make-callback-recurse/test.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/addons/make-callback-recurse/test.js b/test/addons/make-callback-recurse/test.js
index 222a81b06b..a3ea399a49 100644
--- a/test/addons/make-callback-recurse/test.js
+++ b/test/addons/make-callback-recurse/test.js
@@ -79,9 +79,8 @@ assert.throws(function() {
}));
});
} else if (arg === 2) {
- // setTimeout runs via the TimerWrap, which runs through
- // AsyncWrap::MakeCallback(). Make sure there are no conflicts using
- // node::MakeCallback() within it.
+ // Make sure there are no conflicts using node::MakeCallback()
+ // within timers.
setTimeout(common.mustCall(function() {
verifyExecutionOrder(3);
}), 10);