Skip to content

Commit

Permalink
fix(graphql): fixing the dart analyzer error
Browse files Browse the repository at this point in the history
With the new version of the compiler, we get some
compiler error that makes the project unable to
complete with success all the checks are done via make.

This commit fixes these bugs and make the compiler happy again.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
  • Loading branch information
vincenzopalazzo committed Nov 27, 2022
1 parent a2d068b commit 344e611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/graphql/test/graphql_client_test.dart
Expand Up @@ -150,7 +150,7 @@ void main() {
equals(200),
);
expect(
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
equals('bar'),
);
});
Expand Down Expand Up @@ -548,7 +548,7 @@ query WalletGetContent($input: WalletGetContentInput!) {
equals(200),
);
expect(
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
equals('bar'),
);
});
Expand Down Expand Up @@ -1443,7 +1443,7 @@ query WalletGetContent($input: WalletGetContentInput!) {
equals(200),
);
expect(
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
equals('bar'),
);
});
Expand Down

0 comments on commit 344e611

Please sign in to comment.