summaryrefslogtreecommitdiff
path: root/spec/ruby/core/env/each_key_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/env/each_key_spec.rb')
-rw-r--r--spec/ruby/core/env/each_key_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/env/each_key_spec.rb b/spec/ruby/core/env/each_key_spec.rb
index 5c5cf4f80e..0efcb09900 100644
--- a/spec/ruby/core/env/each_key_spec.rb
+++ b/spec/ruby/core/env/each_key_spec.rb
@@ -10,7 +10,7 @@ describe "ENV.each_key" do
ENV.clear
ENV["1"] = "3"
ENV["2"] = "4"
- ENV.each_key { |k| e << k }
+ ENV.each_key { |k| e << k }.should equal(ENV)
e.should include("1")
e.should include("2")
ensure