| Index: pkg/unittest/test/matchers_test.dart | 
| diff --git a/pkg/unittest/test/matchers_test.dart b/pkg/unittest/test/matchers_test.dart | 
| index 98aac10ea3a190075aa3139d0fb9d932f121415a..fe400f0189c67a521a770bd58f854f1491871227 100644 | 
| --- a/pkg/unittest/test/matchers_test.dart | 
| +++ b/pkg/unittest/test/matchers_test.dart | 
| @@ -125,14 +125,14 @@ void main() { | 
| "IllegalJSRegExpException."); | 
| }); | 
|  | 
| -    test('throwsIndexOutOfRangeException', () { | 
| -      shouldPass(() { throw new IndexOutOfRangeException(0); }, | 
| -          throwsIndexOutOfRangeException); | 
| +    test('throwsRangeError', () { | 
| +      shouldPass(() { throw new RangeError.value(0); }, | 
| +          throwsRangeError); | 
| shouldFail(() { throw new Exception(); }, | 
| -          throwsIndexOutOfRangeException, | 
| -        "Expected: throws an exception which matches IndexOutOfRangeException " | 
| +          throwsRangeError, | 
| +        "Expected: throws an exception which matches RangeError " | 
| "but:  exception <Exception> does not match " | 
| -            "IndexOutOfRangeException."); | 
| +            "RangeError."); | 
| }); | 
|  | 
| test('throwsNoSuchMethodError', () { | 
|  |