diff --git a/test/tables/gasp.spec.mjs b/test/tables/gasp.spec.mjs index 65c5a967..2ea91245 100644 --- a/test/tables/gasp.spec.mjs +++ b/test/tables/gasp.spec.mjs @@ -31,7 +31,7 @@ describe('tables/gasp.mjs', function () { it('can write tables that are read as identical to the original', function() { const font2 = parse(font.toArrayBuffer()); - assert.strictEqual(JSON.stringify(font.tables.gasp), JSON.stringify(font2.tables.gasp)); + assert.deepStrictEqual(font.tables.gasp, font2.tables.gasp); }); });