Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: third_party/sqlite/src/test/fts4unicode.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/fts4onepass.test ('k') | third_party/sqlite/src/test/fuzz2.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/fts4unicode.test
diff --git a/third_party/sqlite/src/test/fts4unicode.test b/third_party/sqlite/src/test/fts4unicode.test
index f237119a1871b250da71515ad124aa2de706f19d..500cfcdcaa7e74cdeb2c2186337a809ccb9cd8b4 100644
--- a/third_party/sqlite/src/test/fts4unicode.test
+++ b/third_party/sqlite/src/test/fts4unicode.test
@@ -362,11 +362,17 @@ ifcapable icu { lappend tokenizers icu }
# Some tests to check that the tokenizers can both identify white-space
# codepoints. All codepoints tested below are of type "Zs" in the
# UnicodeData.txt file.
+#
+# Note that codepoint 6158 has changed from Zs to Cf in recent versions
+# of UnicodeData.txt. So take that into account for the "icu" tests.
+#
foreach T $tokenizers {
do_isspace_test 6.$T.1 $T 32
do_isspace_test 6.$T.2 $T 160
do_isspace_test 6.$T.3 $T 5760
- do_isspace_test 6.$T.4 $T 6158
+ if {$T!="icu"} {
+ do_isspace_test 6.$T.4 $T 6158
+ }
do_isspace_test 6.$T.5 $T 8192
do_isspace_test 6.$T.6 $T 8193
do_isspace_test 6.$T.7 $T 8194
@@ -382,7 +388,11 @@ foreach T $tokenizers {
do_isspace_test 6.$T.17 $T 8287
do_isspace_test 6.$T.18 $T 12288
- do_isspace_test 6.$T.19 $T {32 160 5760 6158}
+ if {$T!="icu"} {
+ do_isspace_test 6.$T.19 $T {32 160 5760 6158}
+ } else {
+ do_isspace_test 6.$T.19 $T {32 160 5760 8192}
+ }
do_isspace_test 6.$T.20 $T {8192 8193 8194 8195}
do_isspace_test 6.$T.21 $T {8196 8197 8198 8199}
do_isspace_test 6.$T.22 $T {8200 8201 8202 8239}
« no previous file with comments | « third_party/sqlite/src/test/fts4onepass.test ('k') | third_party/sqlite/src/test/fuzz2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698