Unverified Commit a802faa9 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Restore some typography tests (#58843)

parent b64d652f
...@@ -154,16 +154,14 @@ void main() { ...@@ -154,16 +154,14 @@ void main() {
// Body1 Roboto regular 16 0.5 // Body1 Roboto regular 16 0.5
expect(theme.bodyText1.fontFamily, 'Roboto'); expect(theme.bodyText1.fontFamily, 'Roboto');
expect(theme.bodyText1.fontWeight, regular); expect(theme.bodyText1.fontWeight, regular);
// TODO(hansmuller): restore after englishLike2018 has been updated per #38904. expect(theme.bodyText1.fontSize, 16);
//expect(theme.bodyText1.fontSize, 16); expect(theme.bodyText1.letterSpacing, 0.5);
//expect(theme.bodyText1.letterSpacing, 0.5);
// Body2 Roboto regular 14 0.25 // Body2 Roboto regular 14 0.25
expect(theme.bodyText2.fontFamily, 'Roboto'); expect(theme.bodyText2.fontFamily, 'Roboto');
expect(theme.bodyText2.fontWeight, regular); expect(theme.bodyText2.fontWeight, regular);
// TODO(hansmuller): restore after englishLike2018 has been updated per #38904. expect(theme.bodyText2.fontSize, 14);
//expect(theme.bodyText2.fontSize, 14); expect(theme.bodyText2.letterSpacing, 0.25);
//expect(theme.bodyText2.letterSpacing, 0.25);
// BUTTON Roboto medium 14 1.25 // BUTTON Roboto medium 14 1.25
expect(theme.button.fontFamily, 'Roboto'); expect(theme.button.fontFamily, 'Roboto');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment