Skip to content

Commit a79854f

Browse files
committed
test: fix import name
1 parent 77a31d1 commit a79854f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test_browser/20_big.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as assert from 'power-assert'
44

5-
import { b64decode, b64encode, b64ByteLength } from '../src'
5+
import { b64decode, b64encode, b64byteLength } from '../src'
66
import { fromUint8Array } from '../src/lib/from_buffer'
77
import { 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', () => {

test_browser/20_to_buffer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as assert from 'power-assert'
44

5-
import { b64ByteLength } from '../src'
5+
import { b64byteLength } from '../src'
66
import { toUint8Array } from '../src/lib/to_buffer'
77

88
import { 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
})

0 commit comments

Comments
 (0)