Commit 660c9cca7107d73fe74f440bf0bc3be9cb0d5dbd

Authored by Andrew Kane
1 parent 42284a14

Test stemming without misspellings

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
test/match_test.rb
... ... @@ -64,6 +64,7 @@ class MatchTest < Minitest::Test
64 64 def test_stemming
65 65 store_names ["Whole Milk", "Fat Free Milk", "Milk"]
66 66 assert_search "milks", ["Milk", "Whole Milk", "Fat Free Milk"]
  67 + assert_search "milks", ["Milk", "Whole Milk", "Fat Free Milk"], misspellings: false
67 68 end
68 69  
69 70 def test_stemming_tokens
... ...