| Index: pkg/oauth2/test/authorization_code_grant_test.dart
|
| diff --git a/pkg/oauth2/test/authorization_code_grant_test.dart b/pkg/oauth2/test/authorization_code_grant_test.dart
|
| index 85c055b02c6e7144ed02c3a2d1e12a9c8542d6ca..dead690f7c17d224af87e64ae416bd7d0bded57e 100644
|
| --- a/pkg/oauth2/test/authorization_code_grant_test.dart
|
| +++ b/pkg/oauth2/test/authorization_code_grant_test.dart
|
| @@ -33,8 +33,8 @@ void createGrant() {
|
| }
|
|
|
| void expectFutureThrows(future, predicate) {
|
| - future.catchError(expectAsync1((AsyncError e) {
|
| - expect(predicate(e.error), isTrue);
|
| + future.catchError(expectAsync1((error) {
|
| + expect(predicate(error), isTrue);
|
| }));
|
| }
|
|
|
|
|