From 660c9cca7107d73fe74f440bf0bc3be9cb0d5dbd Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 18 Jun 2020 07:28:26 -0700 Subject: [PATCH] Test stemming without misspellings --- test/match_test.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/test/match_test.rb b/test/match_test.rb index 1023c4c..f106549 100644 --- a/test/match_test.rb +++ b/test/match_test.rb @@ -64,6 +64,7 @@ class MatchTest < Minitest::Test def test_stemming store_names ["Whole Milk", "Fat Free Milk", "Milk"] assert_search "milks", ["Milk", "Whole Milk", "Fat Free Milk"] + assert_search "milks", ["Milk", "Whole Milk", "Fat Free Milk"], misspellings: false end def test_stemming_tokens -- libgit2 0.21.0