Skip to content

Commit

Permalink
Added test for starts with
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorluc-db committed Sep 20, 2024
1 parent 36f2581 commit bc7536d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ public void testStartsWith() throws SparkException {
assertStartsWith("İonic", "Io", "UTF8_LCASE", false);
assertStartsWith("İonic", "i\u0307o", "UTF8_LCASE", true);
assertStartsWith("İonic", "İo", "UTF8_LCASE", true);
assertStartsWith("oİ", "oİ", "UTF8_LCASE", true);
assertStartsWith("oİ", "oi̇", "UTF8_LCASE", true);
// Conditional case mapping (e.g. Greek sigmas).
assertStartsWith("σ", "σ", "UTF8_BINARY", true);
assertStartsWith("σ", "ς", "UTF8_BINARY", false);
Expand Down

0 comments on commit bc7536d

Please sign in to comment.