Merge "fix(non linear font scaling): optimize test to reduce flaky timeouts" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-02-23 22:58:35 +00:00
committed by Android (Google) Code Review

View File

@@ -90,11 +90,7 @@ class FontScaleConverterFactoryTest {
}
.forEach { (table, sp) ->
try {
assertWithMessage(
"convertSpToDp(%s) on table: %s",
sp.toString(),
table.toString()
)
assertWithMessage("convertSpToDp(%s) on table: %s", sp, table)
.that(table.convertSpToDp(sp))
.isFinite()
} catch (e: Exception) {