# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/update_keys.rb # # Extracted Fri Mar 24 23:42:50 UTC 2006 # Unit Tools Reap Test Extractor # require 'facets/core/hash/update_keys.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_001 h = { 'A' => 1, 'B' => 2 } h.update_keys{ |k| k.downcase } assert_equal( { 'a' => 1, 'b' => 2 }, h) end end