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

Unified Diff: tests/lib/async/first_regression_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/first_regression_test.dart
diff --git a/tests/lib/async/first_regression_test.dart b/tests/lib/async/first_regression_test.dart
index 71d190aa95bbb51bce7ea34b9d99b84a38bc9bbc..127b64498bed76fe1da01f524089271edf555559 100644
--- a/tests/lib/async/first_regression_test.dart
+++ b/tests/lib/async/first_regression_test.dart
@@ -5,6 +5,7 @@
// Regression test for http://dartbug.com/7964
library first_regression_test;
+
import 'dart:async';
import 'package:unittest/unittest.dart';
@@ -12,9 +13,9 @@ class DoubleTransformer<T> implements StreamTransformer<T, T> {
Stream<T> bind(Stream<T> stream) {
var transformer = new StreamTransformer<T, T>.fromHandlers(
handleData: (T data, EventSink<T> sink) {
- sink.add(data);
- sink.add(data);
- });
+ sink.add(data);
+ sink.add(data);
+ });
return transformer.bind(stream);
}
}

Powered by Google App Engine
This is Rietveld 408576698