| 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 f4df0053439a16fdef6df464ec491838de99c465..112bac2b994fa6f236107dd7c0438229d8753977 100644
|
| --- a/tests/standalone/io/http_headers_test.dart
|
| +++ b/tests/standalone/io/http_headers_test.dart
|
| @@ -289,8 +289,7 @@ void testCookie() {
|
| Cookie cookie;
|
| cookie = new Cookie("name", "value");
|
| Expect.equals("name=value", cookie.toString());
|
| - TimeZone utc = new TimeZone.utc();
|
| - Date date = new Date.withTimeZone(2014, Date.JAN, 5, 23, 59, 59, 0, utc);
|
| + Date date = new Date(2014, Date.JAN, 5, 23, 59, 59, 0, isUtc: true);
|
| cookie.expires = date;
|
| checkCookie(cookie, "name=value"
|
| "; Expires=Sun, 5 Jan 2014 23:59:59 GMT");
|
|
|