diff --git a/test/parallel/test-assert.js b/test/parallel/test-assert.js index 34e7b643442138..43bd4c770e9cb8 100644 --- a/test/parallel/test-assert.js +++ b/test/parallel/test-assert.js @@ -56,6 +56,9 @@ assert.throws(makeBlock(a.strictEqual, 2, '2'), assert.throws(makeBlock(a.strictEqual, null, undefined), a.AssertionError, 'strictEqual(null, undefined)'); +assert.throws(makeBlock(a.notStrictEqual, 2, 2), + a.AssertionError, 'notStrictEqual(2, 2)'); + assert.doesNotThrow(makeBlock(a.notStrictEqual, 2, '2'), 'notStrictEqual(2, \'2\')');