diff --git a/test/parallel/test-next-tick-errors.js b/test/parallel/test-next-tick-errors.js index bf142bb351334d..c561d555e15d77 100644 --- a/test/parallel/test-next-tick-errors.js +++ b/test/parallel/test-next-tick-errors.js @@ -74,5 +74,5 @@ process.on('uncaughtException', function(err, errorOrigin) { }); process.on('exit', function() { - assert.deepStrictEqual(['A', 'B', 'C'], order); + assert.deepStrictEqual(order, ['A', 'B', 'C']); });