# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/update_keys.rb # # Extracted Mon Jun 05 08:14:29 EDT 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