diff options
Diffstat (limited to 'spec/ruby/core/hash/merge_spec.rb')
-rw-r--r-- | spec/ruby/core/hash/merge_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/ruby/core/hash/merge_spec.rb b/spec/ruby/core/hash/merge_spec.rb index 54abcb816d..77e5c42071 100644 --- a/spec/ruby/core/hash/merge_spec.rb +++ b/spec/ruby/core/hash/merge_spec.rb @@ -99,11 +99,4 @@ end describe "Hash#merge!" do it_behaves_like :hash_update, :merge! - - it "does not raise an exception if changing the value of an existing key during iteration" do - hash = {1 => 2, 3 => 4, 5 => 6} - hash2 = {1 => :foo, 3 => :bar} - hash.each { hash.merge!(hash2) } - hash.should == {1 => :foo, 3 => :bar, 5 => 6} - end end |