Skip to content

Commit

Permalink
Fix some other tests that relied on the wrong ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 7, 2020
1 parent f71f2ac commit 6ef5aad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/downloadGoogleFonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/subsetFonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
},
},
Expand Down Expand Up @@ -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,'
);
});
});
Expand Down

0 comments on commit 6ef5aad

Please sign in to comment.