From 81d2df01fc990b4963efb51ac1367eeb5d1551fb Mon Sep 17 00:00:00 2001 From: Balearica Date: Thu, 11 Jul 2024 22:07:17 -0700 Subject: [PATCH] Minor update to test --- test/tables/gasp.spec.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); });