Sha256: 62ada93c7080416b7debacab2720ec54327170d2084a77791d4ae03e871f0c03

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

require 'facets/string/tab'
require 'test/unit'

class TC_String_Tab < Test::Unit::TestCase

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/string/test_tab.rb
facets-2.8.3 test/core/string/test_tab.rb
facets-2.8.2 test/core/string/test_tab.rb
facets-2.8.1 test/core/string/test_tab.rb