Sha256: 181c34aa8063d1f4126938c2d6918bad0168d7e98b9014d9273574e6a37c26f4

Contents?: true

Size: 228 Bytes

Versions: 16

Compression:

Stored size: 228 Bytes

Contents

require 'facets/symbol/chomp'
require 'test/unit'

class TestSymbolChomp < Test::Unit::TestCase

  def test_chomp
    assert_equal( :a, :ab.chomp(:b) )
  end

  def test_lchomp
    assert_equal( :b, :ab.lchomp(:a) )
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/symbol/test_chomp.rb
facets-2.8.3 test/core/symbol/test_chomp.rb
facets-2.8.2 test/core/symbol/test_chomp.rb
facets-2.8.1 test/core/symbol/test_chomp.rb
facets-2.8.0 test/core/symbol/test_chomp.rb
facets-2.7.0 test/core/symbol/test_chomp.rb
facets-2.6.0 test/core/symbol/test_chomp.rb
facets-2.4.0 test/symbol/test_chomp.rb
facets-2.4.1 test/symbol/test_chomp.rb
facets-2.4.2 test/core/symbol/test_chomp.rb
facets-2.4.3 test/core/symbol/test_chomp.rb
facets-2.4.4 test/core/symbol/test_chomp.rb
facets-2.4.5 test/core/symbol/test_chomp.rb
facets-2.5.0 test/core/symbol/test_chomp.rb
facets-2.5.1 test/core/symbol/test_chomp.rb
facets-2.5.2 test/core/symbol/test_chomp.rb