Skip to content

Commit

Permalink
test: reduce deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed May 16, 2024
1 parent 97c9cbc commit 9ada77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def assert_distance score, str1, str2, **options
end

def assert_encoding str1, str2, encoding, **options
assert_distance JaroWinkler.distance(str1, str2), str1.encode(encoding), str2.encode(encoding)
assert_similarity JaroWinkler.distance(str1, str2), str1.encode(encoding), str2.encode(encoding)
end

def assert_jaro_distance score, str1, str2, **options
Expand Down

0 comments on commit 9ada77e

Please sign in to comment.