File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import * as assert from 'power-assert'
44
5- import { b64decode , b64encode , b64ByteLength } from '../src'
5+ import { b64decode , b64encode , b64byteLength } from '../src'
66import { fromUint8Array } from '../src/lib/from_buffer'
77import { toUint8Array } from '../src/lib/to_buffer'
88
@@ -23,7 +23,7 @@ describe(filename, () => {
2323 const b64 = fromUint8Array ( big )
2424 const u8arr = toUint8Array ( b64 )
2525 assert ( equal ( u8arr , big ) )
26- assert ( b64ByteLength ( b64 ) === u8arr . length )
26+ assert ( b64byteLength ( b64 ) === u8arr . length )
2727 } )
2828
2929 it ( 'test2' , ( ) => {
Original file line number Diff line number Diff line change 22
33import * as assert from 'power-assert'
44
5- import { b64ByteLength } from '../src'
5+ import { b64byteLength } from '../src'
66import { toUint8Array } from '../src/lib/to_buffer'
77
88import { input8 } from './config'
@@ -19,7 +19,7 @@ describe(filename, () => {
1919 const expected = Uint8Array . from ( row [ 0 ] )
2020
2121 assert ( equal ( actual , expected ) , 'Ensure that ' + input + ' deserialise to ' + expected )
22- const byteLength = b64ByteLength ( input )
22+ const byteLength = b64byteLength ( input )
2323 assert ( byteLength === expected . length , 'Ensure that ' + input + ' has byte lentgh of ' + expected . length )
2424 } )
2525 } )
You can’t perform that action at this time.
0 commit comments