From 6f957923472fe57ff1dc29644f9b874d87ad191b Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 26 Jun 2010 01:08:46 +0000 Subject: * test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy the original ENV, since it's done in spawn automatically. [ruby-dev:41733] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/envutil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/envutil.rb') diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 8cbc7c3e12..0703ee4f0d 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -78,7 +78,7 @@ module EnvUtil err_p.set_encoding(enc) if err_p end c = "C" - child_env = ENV.dup + child_env = {} LANG_ENVS.each {|lc| child_env[lc] = c} case args.first when Hash -- cgit v1.2.3