Sha256: f3a781282d76da1896289065ef42249a109271419bad51e02b7ff61a2cc24cb1
Contents?: true
Size: 626 Bytes
Versions: 2
Compression:
Stored size: 626 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/string/words.rb # # Extracted Mon Mar 13 13:24:08 UTC 2006 # Unit Tools Reap Test Extractor # require 'facet/string/words.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_001 x = "a b c\nd e" assert_equal( ['a','b','c','d','e'], x.words ) end def test_002 x = "ab cd\nef" assert_equal( ['ab','cd','ef'], x.words ) end def test_003 x = "ab cd \n ef-gh" assert_equal( ['ab','cd','ef-gh'], x.words ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-1.1.0 | test/lib/facet/string/test_words.rb |
facets-1.2.0 | test/lib/facet/string/test_words.rb |