]> zoso.dev Git - buffer.git/commitdiff
fix test
authorFeross Aboukhadijeh <feross@feross.org>
Fri, 12 Sep 2014 00:12:11 +0000 (01:12 +0100)
committerFeross Aboukhadijeh <feross@feross.org>
Fri, 12 Sep 2014 00:12:11 +0000 (01:12 +0100)
index.js
test/write.js

index 771ca0ad4f438ecc07517846821135b969220f3a..c8877a3e742ded58e668a93d1114fb035071ee89 100644 (file)
--- 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) {
index c456b61668b18a15bc3ce60d1bb215eaf20f3412..6170a477263ccefd0a922ce8d614f6b64ee0e6da 100644 (file)
@@ -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