Sha256: 969dd870c236ff207041354981c3cf80bdf893d1745eb5227ce2192f1b851482
Contents?: true
Size: 272 Bytes
Versions: 16
Compression:
Stored size: 272 Bytes
Contents
require 'facets/string/subtract' require 'test/unit' class TC_String_Subtract < Test::Unit::TestCase def test_subtract assert_equal("fbar", "foobar" - "oo") assert_equal("pia pia!", "pizza pizza!" - "zz") assert_equal("", "letters" - /[a-z]+/) end end
Version data entries
16 entries across 16 versions & 1 rubygems