Index: tests/standalone/typed_data_test.dart |
diff --git a/tests/standalone/typed_data_test.dart b/tests/standalone/typed_data_test.dart |
index 62c4425c4be2e1864255371320452070bef551e9..11e3366e51c1e5061bcfb883df6f54ebe321cd16 100644 |
--- a/tests/standalone/typed_data_test.dart |
+++ b/tests/standalone/typed_data_test.dart |
@@ -161,7 +161,7 @@ void testSetRangeHelper(typed_data) { |
Expect.equals(20 + i, list[i]); |
} |
- typed_data.setRange(1, 2, const [8, 9]); |
+ typed_data.setRange(1, 3, const [8, 9]); |
Expect.equals(20, typed_data[0]); |
Expect.equals(8, typed_data[1]); |
Expect.equals(9, typed_data[2]); |
@@ -182,7 +182,7 @@ void testIndexOutOfRangeHelper(typed_data) { |
}); |
Expect.throws(() { |
- typed_data.setRange(3, 1, list); |
+ typed_data.setRange(3, 4, list); |
}); |
} |