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

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

Issue 11785028: Commit Martin's patch for pub + lib_v2. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 11 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 | « utils/tests/archive/reader_test.dart ('k') | utils/tests/pub/io_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 c2f6fb3f185c38e752cb982e0fcab49ad8987e69..61473eed549fa8f4bc53ab0d36eb80735675fc1b 100644
--- a/utils/tests/pub/curl_client_test.dart
+++ b/utils/tests/pub/curl_client_test.dart
@@ -6,7 +6,7 @@ library curl_client_test;
import 'dart:io';
import 'dart:isolate';
-import 'dart:json';
+import 'dart:json' as json;
import 'dart:uri';
import '../../../pkg/unittest/lib/unittest.dart';
@@ -123,7 +123,7 @@ void startServer() {
outputEncoding = Encoding.ASCII;
}
- var body = JSON.stringify(content);
+ var body = json.stringify(content);
response.contentLength = body.length;
response.outputStream.writeString(body, outputEncoding);
response.outputStream.close();
« no previous file with comments | « utils/tests/archive/reader_test.dart ('k') | utils/tests/pub/io_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698