Sha256: 0a10a8f0417f13c085610254bd9b5032049a75e8e686120a529a885728748e8a
Contents?: true
Size: 325 Bytes
Versions: 12
Compression:
Stored size: 325 Bytes
Contents
require 'helper' class TestTightener < Test::Unit::TestCase def test_001_apply t = LooseTightDictionary::Tightener.new %r{(Ford )[ ]*(F)[\- ]*(\d\d\d)}i assert_equal 'Ford F350', t.apply('Ford F-350') assert_equal 'Ford F150', t.apply('Ford F150') assert_equal 'Ford F350', t.apply('Ford F 350') end end
Version data entries
12 entries across 12 versions & 1 rubygems