diff options
-rw-r--r-- | spec/ruby/core/hash/shared/each.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/hash/shared/each.rb b/spec/ruby/core/hash/shared/each.rb index e0c0a949ca..04a26b5c45 100644 --- a/spec/ruby/core/hash/shared/each.rb +++ b/spec/ruby/core/hash/shared/each.rb @@ -39,7 +39,7 @@ describe :hash_each, shared: true do end ruby_version_is "3.0" do - it "yields an Array of 2 elements when given a callable of arity 2" do + it "always yields an Array of 2 elements, even when given a callable of arity 2" do obj = Object.new def obj.foo(key, value) end |