# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/update_keys.rb # # Extracted Tue Feb 06 17:03:51 EST 2007 # Project.rb Test Extraction # 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