Sha256: 3b0c150bf69b3c3d448a9aa703dac3ce4c674faf7ad3a3272f197c2659e85608

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/symbol/to_proc.rb
#
# Extracted Mon Mar 13 13:24:08 UTC 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

2 entries across 2 versions & 1 rubygems

Version Path
facets-1.1.0 test/lib/facet/symbol/test_to_proc.rb
facets-1.2.0 test/lib/facet/symbol/test_to_proc.rb