Sha256: 3384788f435cfbb851c85cbbca129354ea08b8375ff3733927fc0dd7a07cef7e
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/range_all.rb # # Extracted Fri Feb 16 02:00:37 EST 2007 # Project.rb Test Extraction # require 'facets/core/string/range_all.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_range_all assert_equal( [ (1..3), (5..7) ], "a123a123a9".range_all(/123/) ) assert_equal( [ (0..0), (4..4), (8..8) ], "a123a567a9".range_all(/a/) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/string/test_range_all.rb |