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

Unified Diff: tests/lib/async/zone_debug_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/async/zone_debug_test.dart
diff --git a/tests/lib/async/zone_debug_test.dart b/tests/lib/async/zone_debug_test.dart
index 6b6e490ea00d253ceb2af7ae6339c67488b9de0b..7578dd2625fe9b59dd4c1d535b16aab0f57347a6 100644
--- a/tests/lib/async/zone_debug_test.dart
+++ b/tests/lib/async/zone_debug_test.dart
@@ -25,8 +25,8 @@ debugZoneRegisterCallback(Zone self, ZoneDelegate parent, Zone origin, f()) {
});
}
-debugZoneRegisterUnaryCallback(Zone self, ZoneDelegate parent, Zone origin,
- f(arg)) {
+debugZoneRegisterUnaryCallback(
+ Zone self, ZoneDelegate parent, Zone origin, f(arg)) {
List savedTrace = [stackTrace]..addAll(restoredStackTrace);
return parent.registerUnaryCallback(origin, (arg) {
restoredStackTrace = savedTrace;
@@ -125,10 +125,11 @@ main() {
done.future.whenComplete(() {
// We don't really care for the order.
events.sort();
- Expect.listEquals([ "handling uncaught error bar",
- "handling uncaught error foo",
- "handling uncaught error gee"],
- events);
+ Expect.listEquals([
+ "handling uncaught error bar",
+ "handling uncaught error foo",
+ "handling uncaught error gee"
+ ], events);
asyncEnd();
});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698