diff options
author | Daisuke Miyakawa <dmiyakawa@google.com> | 2009-07-20 23:34:05 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-07-20 23:34:05 -0700 |
commit | 2ec6f6ab7dfb1eadbcab68f0b1394e3eb3ab89fb (patch) | |
tree | 77f36af94ac79085dcaccb45b5d2fc6a78bb1fd3 /android/PhoneNumberUtilsTest.cpp | |
parent | 81197b90d2e09118b4a18428cdd97fbdf91844da (diff) | |
parent | cfdd4a7238fb93f2144f48dd814d786414eb025d (diff) |
am cfdd4a72: Fix a bug in which "16\d+6" matches 166 and the number is handled as Thailand one...
Merge commit 'cfdd4a7238fb93f2144f48dd814d786414eb025d'
* commit 'cfdd4a7238fb93f2144f48dd814d786414eb025d':
Fix a bug in which "16\d+6" matches 166 and the number is handled as Thailand one...
Diffstat (limited to 'android/PhoneNumberUtilsTest.cpp')
-rw-r--r-- | android/PhoneNumberUtilsTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/PhoneNumberUtilsTest.cpp b/android/PhoneNumberUtilsTest.cpp index 6772fe5..4dab98b 100644 --- a/android/PhoneNumberUtilsTest.cpp +++ b/android/PhoneNumberUtilsTest.cpp @@ -123,6 +123,7 @@ int main() { // Confirm that the bug found before does not re-appear. EXPECT_NE("080-1234-5678", "+819012345678"); + EXPECT_EQ("650-000-3456", "16500003456"); // Currently we cannot get this test through (Japanese trunk prefix is 0, // but there is no sensible way to know it now (as of 2009-6-12)... |