Index: tests/standalone/io/process_environment_test.dart |
diff --git a/tests/standalone/io/process_environment_test.dart b/tests/standalone/io/process_environment_test.dart |
index 4376aab20ad44b357e55759188ec0688584c4fdd..2eb4111f68c778a29ab03833cd8b83b58d69d5d9 100644 |
--- a/tests/standalone/io/process_environment_test.dart |
+++ b/tests/standalone/io/process_environment_test.dart |
@@ -65,6 +65,7 @@ testNoIncludeEnvironment() { |
asyncStart(); |
var env = Platform.environment; |
Expect.isTrue(env.containsKey('PATH')); |
+ env = new Map.from(env); |
env.remove('PATH'); |
runEnvironmentProcess(env, "PATH", false, (output) { |
Expect.isTrue(output.startsWith("null")); |