Sha256: c2bd38f00080d8890d808d615165ee7b1e3bc66ddbab7a5c3b3fcde518b4eb7c

Contents?: true

Size: 257 Bytes

Versions: 18

Compression:

Stored size: 257 Bytes

Contents

# Test for lib/facets/matchdata/matchset

require 'facets/matchdata/match.rb'

require 'test/unit'

class Test_MatchData_Match < Test::Unit::TestCase

  def test_match
    md = /X(a)(b)(c)X/.match("YXabcXY")
    assert_equal( "XabcX", md.match )
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/matchdata/test_match.rb
facets-2.8.3 test/core/matchdata/test_match.rb
facets-2.8.2 test/core/matchdata/test_match.rb
facets-2.8.1 test/core/matchdata/test_match.rb
facets-2.8.0 test/core/matchdata/test_match.rb
facets-2.7.0 test/core/matchdata/test_match.rb
facets-2.6.0 test/core/matchdata/test_match.rb
facets-2.3.0 test/core/matchdata/test_match.rb
facets-2.4.0 test/matchdata/test_match.rb
facets-2.2.1 test/unit/matchdata/test_match.rb
facets-2.4.1 test/matchdata/test_match.rb
facets-2.4.4 test/core/matchdata/test_match.rb
facets-2.4.2 test/core/matchdata/test_match.rb
facets-2.4.3 test/core/matchdata/test_match.rb
facets-2.5.0 test/core/matchdata/test_match.rb
facets-2.4.5 test/core/matchdata/test_match.rb
facets-2.5.1 test/core/matchdata/test_match.rb
facets-2.5.2 test/core/matchdata/test_match.rb