Index: tests/standalone/io/http_advanced_test.dart |
diff --git a/tests/standalone/io/http_advanced_test.dart b/tests/standalone/io/http_advanced_test.dart |
index 76ffd8c059978e1e4899bb131a1c30d6d20ede48..1d4ca8976bdcaad848d4bc4437c66e08d51d7816 100644 |
--- a/tests/standalone/io/http_advanced_test.dart |
+++ b/tests/standalone/io/http_advanced_test.dart |
@@ -124,7 +124,7 @@ class TestServer { |
// Set the "Expires" header using the expires property. |
void _expires1Handler(HttpRequest request) { |
var response = request.response; |
- DateTime date = new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0); |
+ DateTime date = new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0); |
response.headers.expires = date; |
Expect.equals(date, response.headers.expires); |
response.close(); |
@@ -134,7 +134,7 @@ class TestServer { |
void _expires2Handler(HttpRequest request) { |
var response = request.response; |
response.headers.set("Expires", "Fri, 11 Jun 1999 18:46:53 GMT"); |
- DateTime date = new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0); |
+ DateTime date = new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0); |
Expect.equals(date, response.headers.expires); |
response.close(); |
} |
@@ -170,7 +170,7 @@ class TestServer { |
Expect.equals(0, request.cookies.length); |
Cookie cookie1 = new Cookie("name1", "value1"); |
- DateTime date = new DateTime.utc(2014, DateTime.JAN, 5, 23, 59, 59, 0); |
+ DateTime date = new DateTime.utc(2014, DateTime.JANUARY, 5, 23, 59, 59, 0); |
cookie1.expires = date; |
cookie1.domain = "www.example.com"; |
cookie1.httpOnly = true; |
@@ -293,7 +293,7 @@ Future testExpires() { |
Expect.equals(HttpStatus.OK, response.statusCode); |
Expect.equals("Fri, 11 Jun 1999 18:46:53 GMT", |
response.headers["expires"][0]); |
- Expect.equals(new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0), |
+ Expect.equals(new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0), |
response.headers.expires); |
response.listen((_) { }, |
onDone: () { |
@@ -380,7 +380,7 @@ Future testCookies() { |
if (cookie.name == "name1") { |
Expect.equals("value1", cookie.value); |
DateTime date = |
- new DateTime.utc(2014, DateTime.JAN, 5, 23, 59, 59, 0); |
+ new DateTime.utc(2014, DateTime.JANUARY, 5, 23, 59, 59, 0); |
Expect.equals(date, cookie.expires); |
Expect.equals("www.example.com", cookie.domain); |
Expect.isTrue(cookie.httpOnly); |