summaryrefslogtreecommitdiff
path: root/android/PhoneNumberUtilsTest.cpp
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2009-07-20 23:34:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-07-20 23:34:05 -0700
commit2ec6f6ab7dfb1eadbcab68f0b1394e3eb3ab89fb (patch)
tree77f36af94ac79085dcaccb45b5d2fc6a78bb1fd3 /android/PhoneNumberUtilsTest.cpp
parent81197b90d2e09118b4a18428cdd97fbdf91844da (diff)
parentcfdd4a7238fb93f2144f48dd814d786414eb025d (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.cpp1
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)...