This commit is contained in:
Dan Field
2020-01-27 14:36:02 -08:00
committed by GitHub
parent 31cd3c7b80
commit 8b2993337a
196 changed files with 1605 additions and 1682 deletions

View File

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