| Index: tests/corelib/list_removeat_test.dart
 | 
| diff --git a/tests/corelib/list_removeat_test.dart b/tests/corelib/list_removeat_test.dart
 | 
| index d9c745367dfccdd9db173e1c82b191441647a66f..758e9204dffd2f0721cfd0daa417ad1f89f77636 100644
 | 
| --- a/tests/corelib/list_removeat_test.dart
 | 
| +++ b/tests/corelib/list_removeat_test.dart
 | 
| @@ -10,7 +10,9 @@ class MyList extends ListBase {
 | 
|    MyList(this.list);
 | 
|  
 | 
|    get length => list.length;
 | 
| -  set length(val) { list.length = val; }
 | 
| +  set length(val) {
 | 
| +    list.length = val;
 | 
| +  }
 | 
|  
 | 
|    operator [](index) => list[index];
 | 
|    operator []=(index, val) => list[index] = val;
 | 
| @@ -24,23 +26,21 @@ void testModifiableList(l1) {
 | 
|    assert(checkedMode = true);
 | 
|  
 | 
|    // Index must be integer and in range.
 | 
| -  Expect.throws(() { l1.removeAt(-1); },
 | 
| -                (e) => e is RangeError,
 | 
| -                "negative");
 | 
| -  Expect.throws(() { l1.removeAt(5); },
 | 
| -                (e) => e is RangeError,
 | 
| -                "too large");
 | 
| -  Expect.throws(() { l1.removeAt(null); },
 | 
| -                (e) => e is ArgumentError,
 | 
| -                "too large");
 | 
| -  Expect.throws(() { l1.removeAt("1"); },
 | 
| -                (e) => (checkedMode ? e is TypeError
 | 
| -                                    : e is ArgumentError),
 | 
| -                "string");
 | 
| -  Expect.throws(() { l1.removeAt(1.5); },
 | 
| -                (e) => (checkedMode ? e is TypeError
 | 
| -                                    : e is ArgumentError),
 | 
| -                "double");
 | 
| +  Expect.throws(() {
 | 
| +    l1.removeAt(-1);
 | 
| +  }, (e) => e is RangeError, "negative");
 | 
| +  Expect.throws(() {
 | 
| +    l1.removeAt(5);
 | 
| +  }, (e) => e is RangeError, "too large");
 | 
| +  Expect.throws(() {
 | 
| +    l1.removeAt(null);
 | 
| +  }, (e) => e is ArgumentError, "too large");
 | 
| +  Expect.throws(() {
 | 
| +    l1.removeAt("1");
 | 
| +  }, (e) => (checkedMode ? e is TypeError : e is ArgumentError), "string");
 | 
| +  Expect.throws(() {
 | 
| +    l1.removeAt(1.5);
 | 
| +  }, (e) => (checkedMode ? e is TypeError : e is ArgumentError), "double");
 | 
|  
 | 
|    Expect.equals(2, l1.removeAt(2), "l1-remove2");
 | 
|    Expect.equals(1, l1[1], "l1-1[1]");
 | 
| @@ -64,19 +64,19 @@ void main() {
 | 
|    // Fixed size list.
 | 
|    var l2 = new List(5);
 | 
|    for (var i = 0; i < 5; i++) l2[i] = i;
 | 
| -  Expect.throws(() { l2.removeAt(2); },
 | 
| -                (e) => e is UnsupportedError,
 | 
| -                "fixed-length");
 | 
| +  Expect.throws(() {
 | 
| +    l2.removeAt(2);
 | 
| +  }, (e) => e is UnsupportedError, "fixed-length");
 | 
|  
 | 
|    // Unmodifiable list.
 | 
|    var l3 = const [0, 1, 2, 3, 4];
 | 
| -  Expect.throws(() { l3.removeAt(2); },
 | 
| -                (e) => e is UnsupportedError,
 | 
| -                "unmodifiable");
 | 
| +  Expect.throws(() {
 | 
| +    l3.removeAt(2);
 | 
| +  }, (e) => e is UnsupportedError, "unmodifiable");
 | 
|  
 | 
|    // Empty list is not special.
 | 
|    var l4 = [];
 | 
| -  Expect.throws(() { l4.removeAt(0); },
 | 
| -                (e) => e is RangeError,
 | 
| -                "empty");
 | 
| +  Expect.throws(() {
 | 
| +    l4.removeAt(0);
 | 
| +  }, (e) => e is RangeError, "empty");
 | 
|  }
 | 
| 
 |