test/test_blocking.rb in fuzzy_match-1.1.1 vs test/test_blocking.rb in fuzzy_match-1.2.1
- old
+ new
@@ -18,6 +18,11 @@
def test_003_no_information
b = FuzzyMatch::Blocking.new %r{apple}
assert_equal nil, b.join?('orange', 'orange')
end
+
+ def test_004_accepts_case_insensitivity
+ b = FuzzyMatch::Blocking.new %r{apple}i
+ assert_equal true, b.match?('2 Apples')
+ end
end