Sha256: 26ee3f995ebf4a15325a30fae0a088ad895b626184094ee9e06760b2f4511f0b

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

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

require 'facet/string/to_re.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_to_re
      assert_equal( /abc/, "abc".to_re )
      assert_equal( /a\+bc/, "a+bc".to_re )
      assert_equal( /a+bc/, "a+bc".to_re(false) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/string/test_to_re.rb