Sha256: 9d1ac6d24e5fc7af67b9ac32d8b8f8e0dd7176a096a4fb34ca12d4be04ae4077

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/string/each_word.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/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-0.9.0 test/lib/nano/string/test_each_word.rb