Sha256: 9ee834abcf16a91ca8934d8692481c89e9d56f87274f8f916d37285583fdecd6
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/range_all.rb # # Extracted Mon Jul 03 00:56:56 EDT 2006 # Unit Tools Reap Test Extractor # 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.4.4 | test/lib/facets/core/string/test_range_all.rb |