Sha256: a9ec925a51ce4efb3e2219fc22998feb3904b254708760a35a5fb574925e18a9

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/each_word.rb
#
# Extracted Tue Jul 25 10:07:15 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.0 test/lib/facets/core/string/test_each_word.rb