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

Unified Diff: tests/lib_strong/collection/linked_list_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/collection/linked_list_test.dart
diff --git a/tests/lib_strong/collection/linked_list_test.dart b/tests/lib_strong/collection/linked_list_test.dart
index 10f7c7725cb245a75b2c51ce97dac703bdb9f128..294f3a7b23c31fa22a935f9f1cb161c04ba3c472 100644
--- a/tests/lib_strong/collection/linked_list_test.dart
+++ b/tests/lib_strong/collection/linked_list_test.dart
@@ -124,7 +124,7 @@ testBadAdd() {
}
testConcurrentModificationError() {
- test(function(LinkedList ll)) {
+ test(function(LinkedList<MyEntry> ll)) {
var ll = new LinkedList<MyEntry>();
for (int i = 0; i < 10; i++) {
ll.add(new MyEntry(i));
« no previous file with comments | « tests/language_strong/many_named_arguments_test.dart ('k') | tests/lib_strong/convert/chunked_conversion_utf82_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698