From 4b232195494cb222ca2bf359820f44967d0b2bef Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 12 Sep 2014 01:12:11 +0100 Subject: [PATCH] fix test --- index.js | 1 - test/write.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 771ca0a..c8877a3 100644 --- a/index.js +++ b/index.js @@ -540,7 +540,6 @@ function checkOffset (offset, ext, length) { throw new RangeError('offset is not uint') if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') - console.log('suces') } Buffer.prototype.readUInt8 = function (offset, noAssert) { diff --git a/test/write.js b/test/write.js index c456b61..6170a47 100644 --- a/test/write.js +++ b/test/write.js @@ -1,4 +1,4 @@ -var B = require('buffer').Buffer +var B = require('../').Buffer var test = require('tape') if (process.env.OBJECT_IMPL) B.TYPED_ARRAY_SUPPORT = false -- 2.34.1