Sha256: 50a337a5541ce1e720755afb6be511ed8c5d545b778c5b6686b7ee1cc0ccd732

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

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