]> zoso.dev Git - buffer.git/commitdiff
Fix Buffer => B, squash
authorEmil Bay <github@tixz.dk>
Mon, 7 Nov 2016 07:42:27 +0000 (18:12 +1030)
committerEmil Bay <github@tixz.dk>
Mon, 7 Nov 2016 07:42:27 +0000 (18:12 +1030)
test/base64.js

index bb1bf6a5cb242eb8622fc4929719af40b363c08c..533e76d3bd4a92689fcb4a100dd70dd00432cfcb 100644 (file)
@@ -46,7 +46,7 @@ test('base64: invalid non-alphanumeric characters -- should be stripped', functi
 })
 
 test('base64: high byte', function (t) {
-  var highByte = Buffer.from([128])
+  var highByte = B.from([128])
   t.deepEqual(
     B.alloc(1, highByte.toString('base64'), 'base64'),
     highByte