Skip to content

Commit

Permalink
Update response_cookies_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Jan 11, 2024
1 parent a630c9f commit af93745
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ void testResponseCookies(Client client,
// "The field value MAY be preceded by any amount of LWS, though a single
// SP is preferred." and
// "The field-content does not include any leading or trailing LWS ..."
httpServerChannel.sink.add([
'Set-Cookie: SID=1231AB3',
['Set-Cookie: lang=en_US']
]);
httpServerChannel.sink
.add(['Set-Cookie: SID=1231AB3', 'Set-Cookie: lang=en_US']);
final response = await client.get(Uri.http(host, ''));

expect(
Expand Down

0 comments on commit af93745

Please sign in to comment.