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

Unified Diff: test/typed_wrapper/stream_test.dart

Issue 2161283002: Fix Dart 1.17 strong-mode warnings. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « test/typed_wrapper/stream_subscription_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/typed_wrapper/stream_test.dart
diff --git a/test/typed_wrapper/stream_test.dart b/test/typed_wrapper/stream_test.dart
index 4936120f025a3b65d9b6b05f2b6433b9ecf4a2a2..05cde3a93e7a8ae572bbdf0b3a8795fc857f7662 100644
--- a/test/typed_wrapper/stream_test.dart
+++ b/test/typed_wrapper/stream_test.dart
@@ -4,7 +4,6 @@
import 'dart:async';
-import "package:async/async.dart";
import "package:async/src/typed/stream.dart";
import "package:test/test.dart";
@@ -245,7 +244,7 @@ void main() {
});
test("pipe()", () {
- var consumer = new StreamController<T>();
+ var consumer = new StreamController();
expect(wrapper.pipe(consumer), completes);
expect(consumer.stream.toList(), completion(equals([1, 2, 3, 4, 5])));
});
« no previous file with comments | « test/typed_wrapper/stream_subscription_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698