diff options
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index 4b635a194d..bcfe13cbb3 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -742,7 +742,7 @@ class TestHash < Test::Unit::TestCase def test_shift_none h = Hash.new {|hh, k| "foo"} def h.default(k = nil) - default_proc.call(k).upcase + super.upcase end assert_equal("FOO", h.shift) end |