From: Daniel Cousens Date: Thu, 6 Aug 2015 12:12:27 +0000 (+1000) Subject: tests: fix ascending test description X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=6dc1282d5a6b5e0a7334ab4008d90c1eba101236;p=buffer.git tests: fix ascending test description --- diff --git a/test/methods.js b/test/methods.js index f9337e1..8741252 100644 --- a/test/methods.js +++ b/test/methods.js @@ -100,16 +100,16 @@ test('copy() after slice()', function (t) { t.end() }) -test('copy() ascending and descending', function (t) { +test('copy() ascending', function (t) { var b = new B('abcdefghij') - b.copy(b, 0, 3, 10) // ascending copy + b.copy(b, 0, 3, 10) t.equal(b.toString(), 'defghijhij') t.end() }) test('copy() descending', function (t) { var b = new B('abcdefghij') - b.copy(b, 3, 0, 7) // descending copy + b.copy(b, 3, 0, 7) t.equal(b.toString(), 'abcabcdefg') t.end() })