From: Feross Aboukhadijeh Date: Tue, 12 Jan 2016 21:34:59 +0000 (+0100) Subject: fix tests X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=c95ee4dd408766d253e8d64fb5a104889b756d4f;p=buffer.git fix tests --- diff --git a/test/basic.js b/test/basic.js index d2fac76..0368ed9 100644 --- a/test/basic.js +++ b/test/basic.js @@ -2,12 +2,6 @@ if (process.env.OBJECT_IMPL) global.TYPED_ARRAY_SUPPORT = false var B = require('../').Buffer var test = require('tape') -test('buf.constructor is Buffer', function (t) { - var buf = new B([1, 2]) - t.strictEqual(buf.constructor, B) - t.end() -}) - test('instanceof Buffer', function (t) { var buf = new B([1, 2]) t.ok(buf instanceof B)