Sha256: d06ecc23454262a94482968221d6c2f214fc79224a9641162b440d59f6a81bcf

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/hash/update_values.rb
#
# Extracted Wed Aug 23 18:22:52 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.7.30 test/lib/facets/core/hash/test_update_values.rb