Sha256: 94c77a0aecf5012530a81df9927a6b0704131ae73f97491fa5ca56ada2789857

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/indent.rb
#
# Extracted Tue Jun 06 09:30:19 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/indent.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_tab
      a = "xyz".tab(4)
      assert_equal( '    ', a[0..3] )
      # Need to expand on this
    end

    def test_tabto
      a = "xyz".tabto(4)
      assert_equal( '    ', a[0..3] )
      # Need to expand on this
    end

    def test_indent
      a = "xyz".indent(4)
      assert_equal( '    ', a[0..3] )
      # Need to expand on this
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.1 test/lib/facets/core/string/test_indent.rb