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

Unified Diff: tests/lib/mirrors/model_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/lib/mirrors/model_test.dart
diff --git a/tests/lib/mirrors/model_test.dart b/tests/lib/mirrors/model_test.dart
index 1e3c292b52f20bf7e85cb9d5d48ca9f35bfbf41f..b81fbd1f2bde7251932012b4e7b69c30dd475d43 100644
--- a/tests/lib/mirrors/model_test.dart
+++ b/tests/lib/mirrors/model_test.dart
@@ -47,11 +47,17 @@ main() {
Expect.equals('aMethod', b.aMethod());
Expect.equals('aMethod', c.aMethod());
- Expect.throws(() { a.bMethod(); }, isNoSuchMethodError);
+ Expect.throws(() {
+ a.bMethod();
+ }, isNoSuchMethodError);
Expect.equals('bMethod', b.bMethod());
Expect.equals('bMethod', c.bMethod());
- Expect.throws(() { a.cMethod(); }, isNoSuchMethodError);
- Expect.throws(() { b.cMethod(); }, isNoSuchMethodError);
+ Expect.throws(() {
+ a.cMethod();
+ }, isNoSuchMethodError);
+ Expect.throws(() {
+ b.cMethod();
+ }, isNoSuchMethodError);
Expect.equals('cMethod', c.cMethod());
}

Powered by Google App Engine
This is Rietveld 408576698