diff --git a/test/parallel/test-buffer-slow.js b/test/parallel/test-buffer-slow.js index cecc01a959..7d27a9be11 100644 --- a/test/parallel/test-buffer-slow.js +++ b/test/parallel/test-buffer-slow.js @@ -35,7 +35,7 @@ try { assert.strictEqual( SlowBuffer(buffer.kMaxLength).length, buffer.kMaxLength); } catch (e) { - assert.equal(e.message, 'Array buffer allocation failed'); + assert.strictEqual(e.message, 'Array buffer allocation failed'); } // should work with number-coercible values