Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: tests/standalone/io/http_headers_test.dart

Issue 10911120: Cleanup and fixes to some dart:io files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/websocket_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d406af1aede3b540a7f566a294ae551f7c8bd686..2219d0f87bee24db924259ba853c27a74c4b15a5 100644
--- a/tests/standalone/io/http_headers_test.dart
+++ b/tests/standalone/io/http_headers_test.dart
@@ -388,6 +388,13 @@ void testInvalidCookie() {
Expect.throws(() => new _Cookie.fromSetCookieValue("xxx=yyy; expires=12 jan 2013"));
}
+void testHeaderLists() {
+ HttpHeaders.GENERAL_HEADERS.forEach((x) => null);
+ HttpHeaders.ENTITY_HEADERS.forEach((x) => null);
+ HttpHeaders.RESPONSE_HEADERS.forEach((x) => null);
+ HttpHeaders.REQUEST_HEADERS.forEach((x) => null);
+}
+
main() {
testMultiValue();
testDate();
@@ -400,4 +407,5 @@ main() {
testContentTypeCache();
testCookie();
testInvalidCookie();
+ testHeaderLists();
}
« no previous file with comments | « runtime/bin/websocket_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698