Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index 87923559017bfb34f1629cd0eeb10034ef433972..e8f817cc6d629993c5ef79d59389ba7781192e22 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -1452,7 +1452,7 @@ class RunningProcess { |
} |
Map<String, String> _createProcessEnvironment() { |
- var environment = io.Platform.environment; |
+ var environment = new Map.from(io.Platform.environment); |
if (command.environmentOverrides != null) { |
for (var key in command.environmentOverrides.keys) { |