forked from firka/flutter
Restore some typography tests (#58843)
This commit is contained in:
@@ -154,16 +154,14 @@ void main() {
|
||||
// Body1 Roboto regular 16 0.5
|
||||
expect(theme.bodyText1.fontFamily, 'Roboto');
|
||||
expect(theme.bodyText1.fontWeight, regular);
|
||||
// TODO(hansmuller): restore after englishLike2018 has been updated per #38904.
|
||||
//expect(theme.bodyText1.fontSize, 16);
|
||||
//expect(theme.bodyText1.letterSpacing, 0.5);
|
||||
expect(theme.bodyText1.fontSize, 16);
|
||||
expect(theme.bodyText1.letterSpacing, 0.5);
|
||||
|
||||
// Body2 Roboto regular 14 0.25
|
||||
expect(theme.bodyText2.fontFamily, 'Roboto');
|
||||
expect(theme.bodyText2.fontWeight, regular);
|
||||
// TODO(hansmuller): restore after englishLike2018 has been updated per #38904.
|
||||
//expect(theme.bodyText2.fontSize, 14);
|
||||
//expect(theme.bodyText2.letterSpacing, 0.25);
|
||||
expect(theme.bodyText2.fontSize, 14);
|
||||
expect(theme.bodyText2.letterSpacing, 0.25);
|
||||
|
||||
// BUTTON Roboto medium 14 1.25
|
||||
expect(theme.button.fontFamily, 'Roboto');
|
||||
|
||||
Reference in New Issue
Block a user