Skip to content

Commit

Permalink
test: fix fontBuffers test
Browse files Browse the repository at this point in the history
  • Loading branch information
yisibl authored and zimond committed Sep 25, 2023
1 parent 094d755 commit a2b8ae9
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 generate a 80x80 png and opaque', async (t) => {
Expand Down

0 comments on commit a2b8ae9

Please sign in to comment.