mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Restore some typography tests (#58843)
This commit is contained in:
parent
b64d652fd1
commit
a802faa9a9
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user