Index: tests/language_strong/field_override_optimization_test.dart |
diff --git a/tests/language_strong/field_override_optimization_test.dart b/tests/language_strong/field_override_optimization_test.dart |
index 573d154c4a81ac61824d6f9bacc22025b1e95d65..5e2b13ae32035e75d3f1a3238c79974a53bf1f14 100644 |
--- a/tests/language_strong/field_override_optimization_test.dart |
+++ b/tests/language_strong/field_override_optimization_test.dart |
@@ -6,8 +6,10 @@ import "package:expect/expect.dart"; |
import "package:meta/meta.dart"; |
class A { |
- @virtual final bool flag = true; |
- @virtual final int x = 42; |
+ @virtual |
+ final bool flag = true; |
+ @virtual |
+ final int x = 42; |
} |
class B extends A { |
@@ -24,10 +26,9 @@ void main() { |
} else { |
Expect.fail('This should also be unreachable'); |
} |
- } on AssertionError catch(e) { |
+ } on AssertionError catch (e) { |
exception = e; |
} |
Expect.isTrue(exception is AssertionError); |
Expect.throws(() => a.x + 8); |
} |
- |