diff --git a/test/addons/make-callback-recurse/test.js b/test/addons/make-callback-recurse/test.js index 46b1327d7de..895769bc330 100644 --- a/test/addons/make-callback-recurse/test.js +++ b/test/addons/make-callback-recurse/test.js @@ -15,7 +15,7 @@ assert.throws(function() { makeCallback({}, function() { throw new Error('hi from domain error'); }); -}); +}, /^Error: hi from domain error$/); // Check the execution order of the nextTickQueue and MicrotaskQueue in