diff --git a/test/downloadGoogleFonts.js b/test/downloadGoogleFonts.js index 3437c10f..e34d1c2a 100644 --- a/test/downloadGoogleFonts.js +++ b/test/downloadGoogleFonts.js @@ -60,7 +60,7 @@ describe('downloadGoogleFonts', () => { ` font-family: 'Roboto';`, ` font-weight: 400;`, ` font-style: normal;`, - ` unicode-range: U+0,U+64-7E,U+D,U+A0-FF,U+131,U+20-21,U+152-153,U+22-47,U+2C6,U+48-49,U+2DA,U+2DC,U+4A-52,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2039-203A,U+2044,U+53,U+2074,U+20AC,U+54-57,U+2212,U+58-63;`, + ` unicode-range: U+0,U+D,U+20-7E,U+A0-FF,U+131,U+152-153,U+2C6,U+2DA,U+2DC,U+2013-2014,U+2018-201A,U+201C-201E,U+2022,U+2026,U+2039-203A,U+2044,U+2074,U+20AC,U+2212;`, ` font-display: swap;`, ` src: `, expect diff --git a/test/subsetFonts.js b/test/subsetFonts.js index 24697278..e2ee07f7 100644 --- a/test/subsetFonts.js +++ b/test/subsetFonts.js @@ -515,7 +515,7 @@ describe('subsetFonts', function () { fontFamilies: expect.it('to be a', Set), codepoints: { original: expect.it('to be an array'), - used: [101, 108, 111, 32, 72], + used: [32, 72, 101, 108, 111], unused: expect.it('to be an array'), }, }, @@ -3231,7 +3231,7 @@ describe('subsetFonts', function () { expect( originalFontFaceSrcRelation.from.text, 'to contain', - 'unicode-range:U+64-7e,U+a0-ff,' + 'unicode-range:U+20-7e,U+a0-ff,' ); }); });