From: Feross Aboukhadijeh Date: Thu, 8 May 2014 00:07:30 +0000 (-0700) Subject: remove console.logs X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=acaa69b36951f704707c633df2293d5a6ecea265;p=buffer.git remove console.logs --- diff --git a/index.js b/index.js index e45ebcf..90e3099 100644 --- a/index.js +++ b/index.js @@ -370,7 +370,6 @@ Buffer.prototype.toJSON = function () { Buffer.prototype.equals = function (b) { assert(Buffer.isBuffer(b), 'Argument must be a Buffer') - console.log(this, b) return Buffer.compare(this, b) === 0 } diff --git a/test/buffer.js b/test/buffer.js index 6c953e9..bff5f3b 100644 --- a/test/buffer.js +++ b/test/buffer.js @@ -227,7 +227,6 @@ test('fill (string)', function (t) { b.fill('abc') t.equal(b.toString(), 'abcabcabca') b.fill('Õ§') - console.log(b[0], b[1], b[2], b[3], b[4]) t.equal(b.toString(), 'Õ§Õ§Õ§Õ§Õ§') t.end() })