Sha256: 98e56207af1fa7b5cd9e30ef42c8c17da88c52b81d2d388f78c90bbca6d60f73

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

covers 'facets/string/lchomp'

testcase String do

  unit :lchomp do
    s = "xxboo"
    r = s.lchomp("xx")
    r.assert == "boo"
  end

  unit :lchomp! do
    s = "xxboo"
    s.lchomp!("xx")
    s.assert == "boo"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facets-2.9.1 test/core/string/test_lchomp.rb
facets-2.9.0 test/core/string/test_lchomp.rb
facets-2.9.0.pre.2 test/core/string/test_lchomp.rb
facets-2.9.0.pre.1 test/core/string/test_lchomp.rb