@@ -157,35 +157,35 @@ static void test_mc_TextOpts_to_FLE2TextSearchInsertSpec(_mongocrypt_tester_t *t
157157 testcase tests [] = {
158158 {.desc = "Works with substring" ,
159159 .in = RAW_STRING ({
160- "caseSensitive" : true ,
161- "diacriticSensitive" : false ,
160+ "caseSensitive" : false ,
161+ "diacriticSensitive" : true ,
162162 "substring" : {"strMaxLength" : 10 , "strMinQueryLength" : 3 , "strMaxQueryLength" : 8 }
163163 }),
164164 .v = RAW_STRING ({"v" : "test "}),
165165 .expect = RAW_STRING (
166166 {"v" : {"v" : "test ", " casef " : true, " diacf " : false, " substr " : {" mlen " : 10, " ub " : 8, " lb " : 3}}})},
167167 {.desc = "Works with prefix" ,
168168 .in = RAW_STRING ({
169- "caseSensitive" : true ,
170- "diacriticSensitive" : false ,
169+ "caseSensitive" : false ,
170+ "diacriticSensitive" : true ,
171171 "prefix" : {"strMinQueryLength" : 3 , "strMaxQueryLength" : 8 }
172172 }),
173173 .v = RAW_STRING ({"v" : "test "}),
174174 .expect =
175175 RAW_STRING ({"v" : {"v" : "test ", " casef " : true, " diacf " : false, " prefix " : {" ub " : 8, " lb " : 3}}})},
176176 {.desc = "Works with suffix" ,
177177 .in = RAW_STRING ({
178- "caseSensitive" : true ,
179- "diacriticSensitive" : false ,
178+ "caseSensitive" : false ,
179+ "diacriticSensitive" : true ,
180180 "suffix" : {"strMinQueryLength" : 3 , "strMaxQueryLength" : 8 }
181181 }),
182182 .v = RAW_STRING ({"v" : "test "}),
183183 .expect =
184184 RAW_STRING ({"v" : {"v" : "test ", " casef " : true, " diacf " : false, " suffix " : {" ub " : 8, " lb " : 3}}})},
185185 {.desc = "Works with prefix + suffix" ,
186186 .in = RAW_STRING ({
187- "caseSensitive" : true ,
188- "diacriticSensitive" : false ,
187+ "caseSensitive" : false ,
188+ "diacriticSensitive" : true ,
189189 "prefix" : {"strMinQueryLength" : 4 , "strMaxQueryLength" : 9 },
190190 "suffix" : {"strMinQueryLength" : 3 , "strMaxQueryLength" : 8 }
191191 }),
@@ -201,8 +201,8 @@ static void test_mc_TextOpts_to_FLE2TextSearchInsertSpec(_mongocrypt_tester_t *t
201201 })},
202202 {.desc = "Errors with missing v" ,
203203 .in = RAW_STRING ({
204- "caseSensitive" : true ,
205- "diacriticSensitive" : false ,
204+ "caseSensitive" : false ,
205+ "diacriticSensitive" : true ,
206206 "prefix" : {"strMinQueryLength" : 3 , "strMaxQueryLength" : 8 }
207207 }),
208208 .v = RAW_STRING ({"foo" : "bar "}),
0 commit comments