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

Unified Diff: tests/compiler/dart2js_extra/deferred/deferred_class_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/compiler/dart2js_extra/deferred/deferred_class_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
index 3d43f5d0b39ec67e51270fd3174f20d288a54eb1..22ab8ba5ffba1203d89fbe8b0b25576c8da4a6b7 100644
--- a/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
+++ b/tests/compiler/dart2js_extra/deferred/deferred_class_test.dart
@@ -13,7 +13,9 @@ isError(e) => e is Error;
main() {
var x;
- Expect.throws(() { x = new lib.MyClass(); }, isError);
+ Expect.throws(() {
+ x = new lib.MyClass();
+ }, isError);
Expect.isNull(x);
int counter = 0;
asyncStart();
@@ -36,6 +38,8 @@ main() {
});
Expect.equals(0, counter);
Expect.isNull(x);
- Expect.throws(() { x = new lib.MyClass(); }, isError);
+ Expect.throws(() {
+ x = new lib.MyClass();
+ }, isError);
Expect.isNull(x);
}

Powered by Google App Engine
This is Rietveld 408576698