| Index: utils/tests/pub/version_test.dart
|
| ===================================================================
|
| --- utils/tests/pub/version_test.dart (revision 10086)
|
| +++ utils/tests/pub/version_test.dart (working copy)
|
| @@ -426,9 +426,9 @@
|
| new VersionConstraintMatcher(versions, false);
|
|
|
| throwsIllegalArg(function) {
|
| - expectThrow(function, (e) => e is IllegalArgumentException);
|
| + expect(function, throwsA((e) => e is IllegalArgumentException));
|
| }
|
|
|
| throwsBadFormat(function) {
|
| - expectThrow(function, (e) => e is FormatException);
|
| + expect(function, throwsA((e) => e is FormatException));
|
| }
|
|
|