Sha256: 0f011a4dc06e9cf1971a84998bb4b2f178d5190a4bf3d9a67e0ff8ca271ee0e0

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/hash/update_values.rb
#
# Extracted Tue Jun 06 09:30:19 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/hash/update_values.rb'


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_001
      h = { 1 => 'A', 2 => 'B' }
      h.update_values{ |v| v.downcase }
      assert_equal( { 1 => 'a', 2 => 'b' }, h )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.1 test/lib/facets/core/hash/test_update_values.rb