/vendor/gems/facets-2.4.5/test/core/string/test_op_sub.rb
Ruby | 12 lines | 8 code | 4 blank | 0 comment | 0 complexity | d79d266192659ea8f1b374921b0d52b9 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, IPL-1.0, AGPL-1.0, LGPL-3.0
- require 'facets/string/op_sub'
- require 'test/unit'
- class Test_String < Test::Unit::TestCase
- def test_op_sub
- s = "xxbooxxfoo"
- assert_equal( "boofoo", s - "xx" )
- end
- end