| Index: pkg/oauth2/test/handle_access_token_response_test.dart
|
| diff --git a/pkg/oauth2/test/handle_access_token_response_test.dart b/pkg/oauth2/test/handle_access_token_response_test.dart
|
| index c36286847b62dd8f330102c1d93f2d1107ab4e3a..d97ef3860a648cfc436dc582fa5dc2f2cb8428f2 100644
|
| --- a/pkg/oauth2/test/handle_access_token_response_test.dart
|
| +++ b/pkg/oauth2/test/handle_access_token_response_test.dart
|
| @@ -38,8 +38,7 @@ void main() {
|
| });
|
|
|
| test('with an unexpected code causes a FormatException', () {
|
| - expect(() => handleError(statusCode: 500),
|
| - throwsFormatException);
|
| + expect(() => handleError(statusCode: 500), throwsFormatException);
|
| });
|
|
|
| test('with no content-type causes a FormatException', () {
|
| @@ -60,13 +59,11 @@ void main() {
|
| });
|
|
|
| test('with invalid JSON causes a FormatException', () {
|
| - expect(() => handleError(body: 'not json'),
|
| - throwsFormatException);
|
| + expect(() => handleError(body: 'not json'), throwsFormatException);
|
| });
|
|
|
| test('with a non-string error causes a FormatException', () {
|
| - expect(() => handleError(body: '{"error": 12}'),
|
| - throwsFormatException);
|
| + expect(() => handleError(body: '{"error": 12}'), throwsFormatException);
|
| });
|
|
|
| test('with a non-string error_description causes a FormatException', () {
|
|
|