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

Unified Diff: tests/corelib/list_fill_range_test.dart

Issue 17977002: - Remove arguments definition test from the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/corelib/list_fill_range_test.dart
===================================================================
--- tests/corelib/list_fill_range_test.dart (revision 24474)
+++ tests/corelib/list_fill_range_test.dart (working copy)
@@ -7,11 +7,7 @@
test(List list, int start, int end, [fillValue]) {
List copy = list.toList();
- if (?fillValue) {
- list.fillRange(start, end, fillValue);
- } else {
- list.fillRange(start, end, fillValue);
- }
+ list.fillRange(start, end, fillValue);
Expect.equals(copy.length, list.length);
for (int i = 0; i < start; i++) {
Expect.equals(copy[i], list[i]);

Powered by Google App Engine
This is Rietveld 408576698