Sha256: b4c4c7951cd9aeee4afb0b2ea2a51c21503978827e8a7ecce1f3613707cfb859

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/each_word.rb
#
# Extracted Fri Sep 08 20:20:32 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.7.46 test/lib/facets/core/string/test_each_word.rb