Skip to content

Commit 344e611

Browse files
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 <[email protected]>
1 parent a2d068b commit 344e611

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/graphql/test/graphql_client_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void main() {
150150
equals(200),
151151
);
152152
expect(
153-
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
153+
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
154154
equals('bar'),
155155
);
156156
});
@@ -548,7 +548,7 @@ query WalletGetContent($input: WalletGetContentInput!) {
548548
equals(200),
549549
);
550550
expect(
551-
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
551+
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
552552
equals('bar'),
553553
);
554554
});
@@ -1443,7 +1443,7 @@ query WalletGetContent($input: WalletGetContentInput!) {
14431443
equals(200),
14441444
);
14451445
expect(
1446-
r.context.entry<HttpLinkResponseContext>()!.headers['foo'],
1446+
r.context.entry<HttpLinkResponseContext>()!.headers!['foo'],
14471447
equals('bar'),
14481448
);
14491449
});

0 commit comments

Comments
 (0)