diff --git a/components/Typography/tests/unit/UIFont+MaterialTypographyTests.m b/components/Typography/tests/unit/UIFont+MaterialTypographyTests.m index e280a7822da..3fc372aaa08 100644 --- a/components/Typography/tests/unit/UIFont+MaterialTypographyTests.m +++ b/components/Typography/tests/unit/UIFont+MaterialTypographyTests.m @@ -46,8 +46,8 @@ - (void)testScaledFontForTraitEnvironmentOniOS10AndAboveConsultsTheTraitEnvironm if (@available(iOS 10.0, *)) { // Given UIFont *font = [UIFont systemFontOfSize:22.0]; - font = - [[MDCFontScaler scalerForMaterialTextStyle:MDCTextStyleHeadline1] scaledFontWithFont:font]; + font = [[[MDCFontScaler scalerForMaterialTextStyle:MDCTextStyleHeadline1] + scaledFontWithFont:font] mdc_scaledFontAtDefaultSize]; MDCTypographyMockTraitEnvironment *traitEnvironment = [[MDCTypographyMockTraitEnvironment alloc] init]; traitEnvironment.traitCollection = [UITraitCollection