From 982dbe110971805fc081c9c885ebf2e57b730ccf Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 6 Aug 2018 20:59:48 -0700 Subject: [PATCH] Added test for special characters --- test/index_options_test.rb | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/test/index_options_test.rb b/test/index_options_test.rb index e0befc8..57fac16 100644 --- a/test/index_options_test.rb +++ b/test/index_options_test.rb @@ -18,4 +18,11 @@ class IndexOptionsTest < Minitest::Test assert_search "milks", ["milks"], {misspellings: false}, Song end end + + def test_special_characters + with_options(Song, special_characters: false) do + store_names ["jalapeƱo"], Song + assert_search "jalapeno", [], {misspellings: false}, Song + end + end end -- libgit2 0.21.0