From 344e6112d7e6f59dee18aa3a40da51068ba6c49e Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Sun, 27 Nov 2022 20:46:07 +0100 Subject: [PATCH] fix(graphql): fixing the dart analyzer error 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 --- packages/graphql/test/graphql_client_test.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/graphql/test/graphql_client_test.dart b/packages/graphql/test/graphql_client_test.dart index 5053044d5..f9401f9eb 100644 --- a/packages/graphql/test/graphql_client_test.dart +++ b/packages/graphql/test/graphql_client_test.dart @@ -150,7 +150,7 @@ void main() { equals(200), ); expect( - r.context.entry()!.headers['foo'], + r.context.entry()!.headers!['foo'], equals('bar'), ); }); @@ -548,7 +548,7 @@ query WalletGetContent($input: WalletGetContentInput!) { equals(200), ); expect( - r.context.entry()!.headers['foo'], + r.context.entry()!.headers!['foo'], equals('bar'), ); }); @@ -1443,7 +1443,7 @@ query WalletGetContent($input: WalletGetContentInput!) { equals(200), ); expect( - r.context.entry()!.headers['foo'], + r.context.entry()!.headers!['foo'], equals('bar'), ); });