Skip to content

Commit d12e832

Browse files
Merge pull request #1261 from zino-hofmann/macros/fix_flutter
fix(graphql): fixing the dart analyzer error
2 parents a2d068b + 344e611 commit d12e832

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)