Sha256: 924d7277a30c3831a2dfd4c079c26fba7eb7939f620c9a8d9c8a239174e8e3eb

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/symbol/to_proc.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/symbol/to_proc.rb'


  require 'test/unit'

  class TCSymbol < Test::Unit::TestCase

    def test_to_proc
      assert_instance_of(Proc, up = :upcase.to_proc )
      assert_equal( "HELLO", up.call("hello") )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/symbol/test_to_proc.rb