| Index: tests/standalone/io/http_headers_test.dart
|
| diff --git a/tests/standalone/io/http_headers_test.dart b/tests/standalone/io/http_headers_test.dart
|
| index 97e7a88e5f0481fa2034dff222d3b431257d4556..137abe5c9d8cc63e8461ebb2ac44f58185c5b324 100644
|
| --- a/tests/standalone/io/http_headers_test.dart
|
| +++ b/tests/standalone/io/http_headers_test.dart
|
| @@ -232,7 +232,10 @@ void testContentType() {
|
| Expect.equals("text/html; charset=utf-8", contentType.toString());
|
| contentType.parameters["xxx"] = "yyy";
|
| check(contentType, "text", "html", {"charset": "utf-8", "xxx": "yyy"});
|
| - Expect.equals("text/html; charset=utf-8; xxx=yyy", contentType.toString());
|
| + String s = contentType.toString();
|
| + bool expectedToString = (s == "text/html; charset=utf-8; xxx=yyy" ||
|
| + s == "text/html; xxx=yyy; charset=utf-8");
|
| + Expect.isTrue(expectedToString);
|
|
|
| contentType = new _ContentType.fromString("text/html");
|
| check(contentType, "text", "html");
|
|
|