Chromium Code Reviews| Index: tests/compiler/dart2js_extra/int_index_test.dart |
| diff --git a/tests/compiler/dart2js_extra/int_index_test.dart b/tests/compiler/dart2js_extra/int_index_test.dart |
| index b41ae41a9689b5cf3bc57a867e8841d9fbfcad8a..66f976773e2d9ac35d06743c42f3266fc87ecbc8 100644 |
| --- a/tests/compiler/dart2js_extra/int_index_test.dart |
| +++ b/tests/compiler/dart2js_extra/int_index_test.dart |
| @@ -4,10 +4,18 @@ |
| main() { |
| var a = [0, 1]; |
| - a[1.2]; /// 01: runtime error |
| - a[1.2] = 4; /// 02: runtime error |
| - checkIndex(a, 1.4); /// 03: runtime error |
| - checkIndexedAssignment(a, 1.4); /// 04: runtime error |
| + a[1.2]; |
| + |
| + /// 01: runtime error |
|
Siggi Cherem (dart-lang)
2016/09/16 20:55:24
revert
Harry Terkelsen
2016/09/16 21:44:04
Done.
|
| + a[1.2] = 4; |
| + |
| + /// 02: runtime error |
| + checkIndex(a, 1.4); |
| + |
| + /// 03: runtime error |
| + checkIndexedAssignment(a, 1.4); |
| + |
| + /// 04: runtime error |
| checkIndex(a, 0); |
| checkIndexedAssignment(a, 0); |
| } |