Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfd38fcb authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Update test case for HarfBuzz 2.0.2

Now HarfBuzz combines chars with ZWJ into single cluster

Bug: 117953171
Test: TreeHugger
Change-Id: I531b7a5f5727540d6d11db619eeba6eb23fb113d
parent f5231c8c
Loading
Loading
Loading
Loading
+4 −5
Original line number Original line Diff line number Diff line
@@ -402,11 +402,10 @@ public class ForwardDeleteTest {
        state.assertEquals("|");
        state.assertEquals("|");


        // Emoji modifier + ZERO WIDTH JOINER
        // Emoji modifier + ZERO WIDTH JOINER
        state.setByString("| U+1F466 U+1F3FB U+200D U+1F469");
        // TODO(nona): Revive this test once HarfBuzz is updated to 2.0.2 (b/117953171)
        forwardDelete(state, 0);
        // state.setByString("| U+1F466 U+1F3FB U+200D U+1F469");
        state.assertEquals("| U+1F469");
        // forwardDelete(state, 0);
        forwardDelete(state, 0);
        // state.assertEquals("|");
        state.assertEquals("|");


        // Regional indicator symbol + emoji modifier
        // Regional indicator symbol + emoji modifier
        state.setByString("| U+1F1FA U+1F3FB");
        state.setByString("| U+1F1FA U+1F3FB");