]> zoso.dev Git - buffer.git/commitdiff
fix tests
authorFeross Aboukhadijeh <feross@feross.org>
Tue, 12 Jan 2016 21:34:59 +0000 (22:34 +0100)
committerFeross Aboukhadijeh <feross@feross.org>
Tue, 12 Jan 2016 21:34:59 +0000 (22:34 +0100)
test/basic.js

index d2fac762845215ac1df270b133d9ece27219cc0d..0368ed919ab75eeb6fe43066a179efe16d5c1573 100644 (file)
@@ -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)