| Index: tests/standalone/io/http_connection_header_test.dart
|
| diff --git a/tests/standalone/io/http_connection_header_test.dart b/tests/standalone/io/http_connection_header_test.dart
|
| index 03c7d93403d031731c6889772af293d30c119c96..77cf97671ee839b7fac8d7b12cf4302b73e89909 100644
|
| --- a/tests/standalone/io/http_connection_header_test.dart
|
| +++ b/tests/standalone/io/http_connection_header_test.dart
|
| @@ -17,15 +17,15 @@ void checkExpectedConnectionHeaders(HttpHeaders headers,
|
| bool persistentConnection) {
|
| Expect.equals("some-value1", headers.value("My-Connection-Header1"));
|
| Expect.equals("some-value2", headers.value("My-Connection-Header2"));
|
| - Expect.isTrue(headers[HttpHeaders.CONNECTION].some(
|
| + Expect.isTrue(headers[HttpHeaders.CONNECTION].any(
|
| (value) => value.toLowerCase() == "my-connection-header1"));
|
| - Expect.isTrue(headers[HttpHeaders.CONNECTION].some(
|
| + Expect.isTrue(headers[HttpHeaders.CONNECTION].any(
|
| (value) => value.toLowerCase() == "my-connection-header2"));
|
| if (persistentConnection) {
|
| Expect.equals(2, headers[HttpHeaders.CONNECTION].length);
|
| } else {
|
| Expect.equals(3, headers[HttpHeaders.CONNECTION].length);
|
| - Expect.isTrue(headers[HttpHeaders.CONNECTION].some(
|
| + Expect.isTrue(headers[HttpHeaders.CONNECTION].any(
|
| (value) => value.toLowerCase() == "close"));
|
| }
|
| }
|
|
|