Sha256: 6f30fde7346d248c604cfec75ceb2d8988803bf3a3a85e9eae8fce6384cc4c2e

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

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

require 'facets/core/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.4.1 test/lib/facets/core/string/test_to_re.rb