Index: sdk/lib/_internal/pub/test/test_pub.dart |
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart |
index f1358a9e9e5757bc965b02afc5aca342710bb6b8..81e74e8bd2da8c24907ad3604d2ce21d66f1f89a 100644 |
--- a/sdk/lib/_internal/pub/test/test_pub.dart |
+++ b/sdk/lib/_internal/pub/test/test_pub.dart |
@@ -9,6 +9,7 @@ |
library test_pub; |
import 'dart:async'; |
+import 'dart:convert'; |
import 'dart:io'; |
import 'dart:json' as json; |
import 'dart:math'; |
@@ -501,7 +502,7 @@ class PubProcess extends ScheduledProcess { |
PubProcess.start(executable, arguments, |
{workingDirectory, environment, String description, |
- Encoding encoding: Encoding.UTF_8}) |
+ Encoding encoding: UTF8}) |
: super.start(executable, arguments, |
workingDirectory: workingDirectory, |
environment: environment, |