Sha256: 9995203840eeb8f81909f8c6e5ec07c6232e1715360f9d84c986bf122819d16f
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/mscan.rb # # Extracted Tue Jun 20 15:12:27 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/mscan.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_mscan r = 'abc,def,gh'.mscan(/[,]/) assert( r.all?{ |md| MatchData === md } ) assert_equal( 2, r.to_a.length ) assert_equal( ',', r[0][0] ) assert_equal( ',', r[1][0] ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/core/string/test_mscan.rb |