Chromium Code Reviews| Index: utils/tests/pub/lock_file_test.dart |
| =================================================================== |
| --- utils/tests/pub/lock_file_test.dart (revision 10086) |
| +++ utils/tests/pub/lock_file_test.dart (working copy) |
| @@ -195,5 +195,5 @@ |
| } |
| throwsBadFormat(function) { |
| - expectThrow(function, (e) => e is FormatException); |
| + expect(function, throwsA((e) => e is FormatException)); |
| } |