diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js index cf5b7d4c9933f6..3d618741044343 100644 --- a/test/parallel/test-assert.js +++ b/test/parallel/test-assert.js @@ -394,12 +394,13 @@ try { } catch (e) { gotError = true; } +assert.ok(gotError); + // GH-7178. Ensure reflexivity of deepEqual with `arguments` objects. var args = (function() { return arguments; })(); a.throws(makeBlock(a.deepEqual, [], args)); a.throws(makeBlock(a.deepEqual, args, [])); -assert.ok(gotError); var circular = {y: 1};