Browse Source

Use same string for tests in the java implementation

pull/1312/head
Tiago Salem Herrmann 9 years ago
parent
commit
80f2e2e1cf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      java/libphonenumber/test/com/google/i18n/phonenumbers/PhoneNumberUtilTest.java

+ 2
- 2
java/libphonenumber/test/com/google/i18n/phonenumbers/PhoneNumberUtilTest.java View File

@ -426,8 +426,8 @@ public class PhoneNumberUtilTest extends TestMetadataTestCase {
}
public void testNormaliseStripNonDiallableCharacters() {
String inputNumber = "03*4-56&+a#234";
String expectedOutput = "03*456+#234";
String inputNumber = "03*4-56&+1a#234";
String expectedOutput = "03*456+1#234";
assertEquals("Conversion did not correctly remove non-diallable characters",
expectedOutput,
PhoneNumberUtil.normalizeDiallableCharsOnly(inputNumber));


Loading…
Cancel
Save