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 e9963b6c21034fbce930b845336ecd6f953223c0..111379ca06b91c5ba953acc942118df89c2081da 100644 |
--- a/tests/standalone/io/http_headers_test.dart |
+++ b/tests/standalone/io/http_headers_test.dart |
@@ -52,9 +52,9 @@ void testMultiValue() { |
} |
void testDate() { |
- DateTime date1 = new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0); |
+ DateTime date1 = new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0); |
String httpDate1 = "Fri, 11 Jun 1999 18:46:53 GMT"; |
- DateTime date2 = new DateTime.utc(2000, DateTime.AUG, 16, 12, 34, 56, 0); |
+ DateTime date2 = new DateTime.utc(2000, DateTime.AUGUST, 16, 12, 34, 56, 0); |
String httpDate2 = "Wed, 16 Aug 2000 12:34:56 GMT"; |
_HttpHeaders headers = new _HttpHeaders("1.1"); |
@@ -78,9 +78,9 @@ void testDate() { |
} |
void testExpires() { |
- DateTime date1 = new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0); |
+ DateTime date1 = new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0); |
String httpDate1 = "Fri, 11 Jun 1999 18:46:53 GMT"; |
- DateTime date2 = new DateTime.utc(2000, DateTime.AUG, 16, 12, 34, 56, 0); |
+ DateTime date2 = new DateTime.utc(2000, DateTime.AUGUST, 16, 12, 34, 56, 0); |
String httpDate2 = "Wed, 16 Aug 2000 12:34:56 GMT"; |
_HttpHeaders headers = new _HttpHeaders("1.1"); |
@@ -104,9 +104,9 @@ void testExpires() { |
} |
void testIfModifiedSince() { |
- DateTime date1 = new DateTime.utc(1999, DateTime.JUN, 11, 18, 46, 53, 0); |
+ DateTime date1 = new DateTime.utc(1999, DateTime.JUNE, 11, 18, 46, 53, 0); |
String httpDate1 = "Fri, 11 Jun 1999 18:46:53 GMT"; |
- DateTime date2 = new DateTime.utc(2000, DateTime.AUG, 16, 12, 34, 56, 0); |
+ DateTime date2 = new DateTime.utc(2000, DateTime.AUGUST, 16, 12, 34, 56, 0); |
String httpDate2 = "Wed, 16 Aug 2000 12:34:56 GMT"; |
_HttpHeaders headers = new _HttpHeaders("1.1"); |
@@ -330,7 +330,7 @@ void testCookie() { |
Cookie cookie; |
cookie = new Cookie("name", "value"); |
Expect.equals("name=value", cookie.toString()); |
- 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); |
cookie.expires = date; |
checkCookie(cookie, "name=value" |
"; Expires=Sun, 5 Jan 2014 23:59:59 GMT"); |