mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 00:54:19 +01:00
add caverphone
This commit is contained in:
@@ -587,6 +587,9 @@ def validate_fuzzy_soundex(a):
|
||||
def validate_fuzzy_phonetic(a):
|
||||
return a == "ABACAMA"
|
||||
|
||||
def validate_fuzzy_caver(a):
|
||||
return a == "AWSM111111"
|
||||
|
||||
def test_fuzzy():
|
||||
limbo = TestTursoShell()
|
||||
ext_path = "./target/debug/liblimbo_fuzzy"
|
||||
@@ -636,6 +639,11 @@ def test_fuzzy():
|
||||
validate_fuzzy_phonetic,
|
||||
"fuzzy phonetic function works",
|
||||
)
|
||||
limbo.run_test_fn(
|
||||
"SELECT fuzzy_caver('awesome');",
|
||||
validate_fuzzy_caver,
|
||||
"fuzzy caver function works",
|
||||
)
|
||||
|
||||
def test_vfs():
|
||||
limbo = TestTursoShell()
|
||||
|
||||
Reference in New Issue
Block a user