[a11y] Make sure RenderFractionalTranslation updates its semantics after the translation field is set (#48985)

This commit is contained in:
Anthony
2020-01-17 18:13:01 -05:00
committed by Flutter GitHub Bot
parent fcf341e4f3
commit b67d5ec6e9
196 changed files with 1686 additions and 1607 deletions

View File

@@ -17,7 +17,7 @@ void main() {
test('parsePixels', () {
expect(parsePixels('23px'), 23);
expect(parsePixels('9px'), 9);
expect(() { parsePixels('9pt'); }, throwsArgumentError);
expect(() { parsePixels('9pt'); }, throwsA(isInstanceOf<ArgumentError>()));
});
test('parsePoints', () {