Sha256: b6a2f6892459834947c9c308a1798864a955de66db9ca8ba4dcb1d795ba58d7b

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/each_word.rb
#
# Extracted Wed Aug 23 18:22:52 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.30 test/lib/facets/core/string/test_each_word.rb