Skip to content

Commit

Permalink
test: fix fontBuffers test
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl committed Oct 16, 2023
1 parent 88595e1 commit de8b059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __test__/wasm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ test('should be load custom multiple fontBuffers', async (t) => {
const originPixels = Array.from(pngData.pixels)

// Find the number of blue `rgb(0,255,255)`pixels
t.is(originPixels.join(',').match(/0,0,255/g)?.length, 8931)
t.is(originPixels.join(',').match(/0,0,255/g)?.length, 8911)
})

test('should be load custom WOFF2 font', async (t) => {
Expand Down

0 comments on commit de8b059

Please sign in to comment.