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

Unified Diff: pkg/http/test/multipart_test.dart

Issue 12440002: Make instances of HeaderValue and ContentType immutable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review comments from nweiz@ Created 7 years, 9 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 | « pkg/http/test/http_test.dart ('k') | pkg/http/test/request_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http/test/multipart_test.dart
diff --git a/pkg/http/test/multipart_test.dart b/pkg/http/test/multipart_test.dart
index c3c3dd9ddc9f68bd1a7add8157b96bee80c0a9d2..b8210d2fbeb79c54dac867ce38cb0d1da77b2847 100644
--- a/pkg/http/test/multipart_test.dart
+++ b/pkg/http/test/multipart_test.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -76,12 +76,12 @@ void main() {
value2
--{{boundary}}
- content-type: text/plain; charset=UTF-8
+ content-type: text/plain; charset=utf-8
content-disposition: form-data; name="file1"; filename="filename1.txt"
contents1
--{{boundary}}
- content-type: text/plain; charset=UTF-8
+ content-type: text/plain; charset=utf-8
content-disposition: form-data; name="file2"
contents2
@@ -109,7 +109,7 @@ void main() {
expect(request, bodyMatches('''
--{{boundary}}
content-disposition: form-data; name="field"
- content-type: text/plain; charset=UTF-8
+ content-type: text/plain; charset=utf-8
vⱥlūe
--{{boundary}}--
@@ -123,7 +123,7 @@ void main() {
expect(request, bodyMatches('''
--{{boundary}}
- content-type: text/plain; charset=UTF-8
+ content-type: text/plain; charset=utf-8
content-disposition: form-data; name="file"; filename="f%C3%AFl%C4%93name.txt"
contents
@@ -139,7 +139,7 @@ void main() {
expect(request, bodyMatches('''
--{{boundary}}
- content-type: application/json; charset=UTF-8
+ content-type: application/json; charset=utf-8
content-disposition: form-data; name="file"
{"hello": "world"}
« no previous file with comments | « pkg/http/test/http_test.dart ('k') | pkg/http/test/request_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698