/vendor/gems/facets-2.4.5/test/core/string/test_end_with.rb
Ruby | 12 lines | 8 code | 4 blank | 0 comment | 0 complexity | 47c6f47d7bc5d92ebb118d3ecdb25555 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
- require 'facets/string/end_with'
- require 'test/unit'
- class Test_String < Test::Unit::TestCase
- def test_end_with?
- s = "xxboo"
- assert( s.end_with?('boo') )
- end
- end