Sha256: 71407e6e93678c7d02fccc10638d8751e8396db0c37d37a65346fc028058ade8

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

# Test for lib/facets/symbol/chomp

require 'facets/symbol/chomp.rb'

require 'test/unit'

class TestSymbol < 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

3 entries across 3 versions & 1 rubygems

Version Path
facets-2.2.0 test/unit/symbol/test_chomp.rb
facets-2.3.0 test/core/symbol/test_chomp.rb
facets-2.2.1 test/unit/symbol/test_chomp.rb