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(); |