Chromium Code Reviews| Index: tests/standalone/io/file_test.dart |
| diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart |
| index e3b314560436aca454d695c27304e9c4a29ec51b..d445debcf775ff9efd3a96ccca76eb8b82af23ad 100644 |
| --- a/tests/standalone/io/file_test.dart |
| +++ b/tests/standalone/io/file_test.dart |
| @@ -11,11 +11,13 @@ import 'dart:io'; |
| import 'dart:isolate'; |
| class MyListOfOneElement |
| - extends Object with ListMixin<int>, UnmodifiableListMixin { |
| + extends Object with ListMixin<int> implements List<int> { |
| int _value; |
| MyListOfOneElement(this._value); |
| int get length => 1; |
| operator [](int index) => _value; |
|
kustermann
2013/04/24 13:09:49
I'd throw if 'index != 0' in 'operator[]'.
Søren Gjesse
2013/04/24 13:11:53
Good point, done.
|
| + void set length(int index) { throw "Unsupported"; } |
| + operator []=(int index, value) { throw "Unsupported"; } |
| } |
| class FileTest { |