1164
1164
// when we try again to extract a country code we should ensure we use the last leading digit
1165
1165
// pattern, rather than the first one such that it *thinks* it's found a valid formatting rule
1168
1168
assertEquals("+8698812", formatter.inputDigit('2'));
1169
1169
assertEquals("+86988123", formatter.inputDigit('3'));
1170
1170
assertEquals("+869881234", formatter.inputDigit('4'));