Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: tests/language_strong/field_override_optimization_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
-

Powered by Google App Engine
This is Rietveld 408576698