summaryrefslogtreecommitdiff
path: root/android/PhoneNumberUtilsTest.cpp
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2009-07-20 18:28:54 -0700
committerDaisuke Miyakawa <dmiyakawa@google.com>2009-07-20 18:28:54 -0700
commitcfdd4a7238fb93f2144f48dd814d786414eb025d (patch)
tree001d791e225bdb920c3f6dab625bc1b4b8eb2f0a /android/PhoneNumberUtilsTest.cpp
parentc30779b9aa9fa2dd7946b8af63a4fb72d50a99dd (diff)
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)...