Sha256: da85a6452d16069cf22a1719b2897258a7207b5d08ba60327adfc6d59dd24868
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/each_word.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/each_word.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_each_word a = [] i = "this is a test" i.each_word{ |w| a << w } assert_equal( ['this', 'is', 'a', 'test'], a ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.1 | test/lib/facets/core/string/test_each_word.rb |