Update test case for HarfBuzz 2.0.2

Now HarfBuzz combines chars with ZWJ into single cluster

Bug: 117953171
Test: TreeHugger
Change-Id: I531b7a5f5727540d6d11db619eeba6eb23fb113d
This commit is contained in:
Seigo Nonaka
2018-10-23 22:55:51 -07:00
parent f5231c8c02
commit dfd38fcbae

View File

@@ -402,11 +402,10 @@ public class ForwardDeleteTest {
state.assertEquals("|");
// Emoji modifier + ZERO WIDTH JOINER
state.setByString("| U+1F466 U+1F3FB U+200D U+1F469");
forwardDelete(state, 0);
state.assertEquals("| U+1F469");
forwardDelete(state, 0);
state.assertEquals("|");
// TODO(nona): Revive this test once HarfBuzz is updated to 2.0.2 (b/117953171)
// state.setByString("| U+1F466 U+1F3FB U+200D U+1F469");
// forwardDelete(state, 0);
// state.assertEquals("|");
// Regional indicator symbol + emoji modifier
state.setByString("| U+1F1FA U+1F3FB");