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

Unified Diff: utils/tests/pub/curl_client_test.dart

Issue 11659009: Reapply "Fix URI encoding/decoding of + and space"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated tests Created 8 years 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 | « tests/utils/uri_test.dart ('k') | utils/tests/pub/oauth2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/curl_client_test.dart
diff --git a/utils/tests/pub/curl_client_test.dart b/utils/tests/pub/curl_client_test.dart
index 98432e0f0245aef1eb5d5b05855b89fe043c8628..5c94a72b0d1dcf66d32d622bec0758722e929bbf 100644
--- a/utils/tests/pub/curl_client_test.dart
+++ b/utils/tests/pub/curl_client_test.dart
@@ -58,11 +58,11 @@ void main() {
'content-type': [
'application/x-www-form-urlencoded; charset=UTF-8'
],
- 'content-length': ['42'],
+ 'content-length': ['40'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
- 'body': 'some-field=value&other-field=other%20value'
+ 'body': 'some-field=value&other-field=other+value'
})));
}), completes);
});
@@ -102,11 +102,11 @@ void main() {
'content-type': [
'application/x-www-form-urlencoded; charset=UTF-8'
],
- 'content-length': ['42'],
+ 'content-length': ['40'],
'x-random-header': ['Value'],
'x-other-header': ['Other Value']
},
- 'body': 'some-field=value&other-field=other%20value'
+ 'body': 'some-field=value&other-field=other+value'
})));
}), completes);
});
« no previous file with comments | « tests/utils/uri_test.dart ('k') | utils/tests/pub/oauth2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698