Unverified Commit 339e65d8 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Remove an error that is caught at compile time in Dart 2 (#15797)

parent 217b2bda
......@@ -23,7 +23,6 @@ void main() {
fontWeight: FontWeight.w800,
height: 123.0,
);
expect(() { s1.fontFamily = 'test'; }, throwsA(const isInstanceOf<Error>())); // ignore: ASSIGNMENT_TO_FINAL
expect(s1.fontFamily, isNull);
expect(s1.fontSize, 10.0);
expect(s1.fontWeight, FontWeight.w800);
......
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