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

Unified Diff: tests/corelib/list_test.dart

Issue 1440663003: Add "growable" parameter to List.filled constructor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « tests/corelib/list_filled_type_argument_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_test.dart
diff --git a/tests/corelib/list_test.dart b/tests/corelib/list_test.dart
index c26c1cf50b175f19d2885d4f37d917709ae4fc88..a72a189dde51aabb9261ee4c47a14c6916d32d1a 100644
--- a/tests/corelib/list_test.dart
+++ b/tests/corelib/list_test.dart
@@ -33,6 +33,7 @@ void main() {
testGrowableList(new List());
testGrowableList(new List().toList());
testGrowableList(new List(0).toList());
+ testGrowableList(new List.filled(0, null, growable: true));
testGrowableList([]);
testGrowableList((const []).toList());
testGrowableList(new MyList([]));
« no previous file with comments | « tests/corelib/list_filled_type_argument_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698