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

Unified Diff: tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart

Issue 2989993002: fix unsound cast failures in tests (Closed)
Patch Set: fix Created 3 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
Index: tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart
diff --git a/tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart b/tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart
index 2f7c5624f789f123a4b2b601b534825e24885907..88b4961152236be8d5d252f09827825726c15181 100644
--- a/tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart
+++ b/tests/lib_strong/convert/streamed_conversion_json_decode1_test.dart
@@ -83,7 +83,7 @@ bool isJsonEqual(o1, o2) {
Stream<Object> createStream(List<String> chunks) {
var decoder = new JsonDecoder(null);
var controller;
- controller = new StreamController(onListen: () {
+ controller = new StreamController<String>(onListen: () {
chunks.forEach(controller.add);
controller.close();
});
« no previous file with comments | « tests/lib_strong/convert/chunked_conversion_utf87_test.dart ('k') | tests/lib_strong/convert/unicode_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698