Chromium Code Reviews| Index: tests/standalone/typed_data_test.dart |
| =================================================================== |
| --- tests/standalone/typed_data_test.dart (revision 36816) |
| +++ tests/standalone/typed_data_test.dart (working copy) |
| @@ -60,6 +60,8 @@ |
| typed_data[1] = 1.2; |
| }); |
| } |
| + Expect.throws(() => typed_data[-1]); |
| + Expect.throws(() => typed_data[100]); |
|
zra
2014/05/30 18:11:00
Is the non-smi index path followed somewhere?
srdjan
2014/05/30 19:23:12
Done.
|
| } |
| void testUnsignedTypedDataRange(bool check_throws) { |
| @@ -87,6 +89,8 @@ |
| typed_data[1] = 1.2; |
| }); |
| } |
| + Expect.throws(() => typed_data[-1]); |
| + Expect.throws(() => typed_data[100]); |
| } |
| void testClampedUnsignedTypedDataRangeHelper(Uint8ClampedList typed_data, |