Skip to content

Commit

Permalink
fix(tests): fix failing tests seemingly to to ast-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize committed Oct 30, 2019
1 parent faa3779 commit 664fdd1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/graphql/test/link/http/link_http_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void main() {
);
expect(
captured.body,
'{"operationName":"Operation","variables":{},"query":"query Operation {}"}',
'{"operationName":"Operation","variables":{},"query":"query Operation {\\n \\n}"}',
);
});

Expand Down Expand Up @@ -163,7 +163,7 @@ void main() {
);
expect(
captured.body,
'{"operationName":"Operation","variables":{},"extensions":null,"query":"query Operation {}"}',
'{"operationName":"Operation","variables":{},"extensions":null,"query":"query Operation {\\n \\n}"}',
);
});

Expand Down Expand Up @@ -215,7 +215,7 @@ void main() {
);
expect(
captured.body,
'{"operationName":"Operation","variables":{},"extensions":null,"query":"query Operation {}"}',
'{"operationName":"Operation","variables":{},"extensions":null,"query":"query Operation {\\n \\n}"}',
);
});

Expand Down Expand Up @@ -252,7 +252,7 @@ void main() {

expect(
captured.body,
'{"operationName":null,"variables":{},"extensions":{"extension-1":"extension-value-1"},"query":"{}"}',
'{"operationName":null,"variables":{},"extensions":{"extension-1":"extension-value-1"},"query":"query {\\n \\n}"}',
);
});

Expand Down Expand Up @@ -519,7 +519,7 @@ void main() {
r'''--dart-http-boundary-REPLACED
content-disposition: form-data; name="operations"
{"operationName":null,"variables":{"files":[null,null]},"query":"{}"}
{"operationName":null,"variables":{"files":[null,null]},"query":"query {\n \n}"}
--dart-http-boundary-REPLACED
content-disposition: form-data; name="map"
Expand Down

0 comments on commit 664fdd1

Please sign in to comment.