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

Unified Diff: tests/corelib/list_ungrowable_fillRange_test.dart

Issue 18547004: fix type in test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/list_ungrowable_fillRange_test.dart
diff --git a/tests/corelib/list_ungrowable_fillRange_test.dart b/tests/corelib/list_ungrowable_fillRange_test.dart
index 73504761b34f256efa4184b4e85e2182ad8499fa..3e2e14e2b278776a0183d6a91ca3d095edfb2259 100644
--- a/tests/corelib/list_ungrowable_fillRange_test.dart
+++ b/tests/corelib/list_ungrowable_fillRange_test.dart
@@ -20,25 +20,25 @@ main() {
void testFloat32FillRange() {
Float32List list = new Float32List(4);
- list.fillRange(0, 4, 0);
+ list.fillRange(0, 4, 0.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(0, 0, -6);
+ list.fillRange(0, 0, -6.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(4, 4, 6);
+ list.fillRange(4, 4, 6.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(1, 3, -6);
+ list.fillRange(1, 3, -6.0);
Expect.listEquals([0, -6, -6, 0], list);
}
void testFloat64FillRange() {
Float64List list = new Float64List(4);
- list.fillRange(0, 4, 0);
+ list.fillRange(0, 4, 0.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(0, 0, -6);
+ list.fillRange(0, 0, -6.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(4, 4, -6);
+ list.fillRange(4, 4, -6.0);
Expect.listEquals([0, 0, 0, 0], list);
- list.fillRange(1, 3, -6);
+ list.fillRange(1, 3, -6.0);
Expect.listEquals([0, -6, -6, 0], list);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698