1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a test case in fts3expr4.test to account for different locales.

FossilOrigin-Name: a2b6883ac2ef878f525ee847b170beb9f9ab9d1fa67557101be2cdae1e7f7a57
This commit is contained in:
dan
2022-11-24 17:58:55 +00:00
parent 6b86b33793
commit eb84c81c53
3 changed files with 18 additions and 9 deletions

View File

@ -50,7 +50,16 @@ do_icu_expr_test 1.6 { "(x OR y)" } {PHRASE 3 0 ( x or y )}
# is passed to the tokenizer.
#
do_icu_expr_test 1.7 {a:word} {PHRASE 0 0 word}
do_icu_expr_test 1.8 {d:word} {PHRASE 3 0 d:word}
# do_icu_expr_test 1.8 {d:word} {PHRASE 3 0 d:word}
do_test 1.8 {
set res [
db one {SELECT fts3_exprtest('icu en_US', 'd:word', 'a', 'b', 'c')}
]
expr {
$res=="PHRASE 3 0 d:word" ||
$res=="AND {AND {PHRASE 3 0 d} {PHRASE 3 0 :}} {PHRASE 3 0 word}"
}
} 1
set sqlite_fts3_enable_parentheses 0