Sha256: 7fe00ed974bd9d37287b672809bd7530062f12583f825e2c96a0df93d9d8fd3f
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/string/mscan.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/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-0.9.0 | test/lib/nano/string/test_mscan.rb |