Sha256: 31abc7f2a32fb578d88679b8613aaae41c9b5c1529f8d66c1f78383efa09ead6

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# 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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.0 test/lib/facets/core/hash/test_update_keys.rb