Index: tests/html/typed_arrays_5_test.dart |
diff --git a/tests/html/typed_arrays_5_test.dart b/tests/html/typed_arrays_5_test.dart |
index 62e79983f0b3a02d6c4fd344377751c17ec6604f..3127eeeae83ad7601fee01da25d27da13f1925bc 100644 |
--- a/tests/html/typed_arrays_5_test.dart |
+++ b/tests/html/typed_arrays_5_test.dart |
@@ -18,7 +18,7 @@ main() { |
test('filter_dynamic', () { |
var a = new Float32List(1024); |
for (int i = 0; i < a.length; i++) { |
- a[i] = i; |
+ a[i] = i.toDouble(); |
} |
expect(a.where((x) => x >= 1000).length, equals(24)); |
@@ -27,7 +27,7 @@ main() { |
test('filter_typed', () { |
Float32List a = new Float32List(1024); |
for (int i = 0; i < a.length; i++) { |
- a[i] = i; |
+ a[i] = i.toDouble(); |
} |
expect(a.where((x) => x >= 1000).length, equals(24)); |