Skip to content

Commit c80f132

Browse files
finish renaming NonGeoRegions to NonGeoEntities
1 parent 0c06ab3 commit c80f132

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cpp/test/phonenumbers/phonenumberutil_test.cc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,12 @@ class PhoneNumberUtilTest : public testing::Test {
6666

6767
const PhoneMetadata* GetMetadataForNonGeographicalRegion(
6868
int country_code) const {
69-
return phone_util_.GetMetadataForNonGeographicalRegion(country_code);
69+
return phone_util_.GetMetadataForNonGeographicalEntity(country_code);
70+
}
71+
72+
const PhoneMetadata* GetMetadataForNonGeographicalEntity(
73+
int country_code) const {
74+
return phone_util_.GetMetadataForNonGeographicalEntity(country_code);
7075
}
7176

7277
void ExtractPossibleNumber(const string& number,
@@ -342,6 +347,7 @@ TEST_F(PhoneNumberUtilTest, GetInstanceLoadARMetadata) {
342347

343348
TEST_F(PhoneNumberUtilTest, GetInstanceLoadInternationalTollFreeMetadata) {
344349
const PhoneMetadata* metadata = GetMetadataForNonGeographicalRegion(800);
350+
const PhoneMetadata* metadata = GetMetadataForNonGeographicalEntity(800);
345351
EXPECT_FALSE(metadata == NULL);
346352
EXPECT_EQ("001", metadata->id());
347353
EXPECT_EQ(800, metadata->country_code());

0 commit comments

Comments
 (0)