diff --git a/cpp/test/phonenumbers/unicodestring_test.cc b/cpp/test/phonenumbers/unicodestring_test.cc index 12b3d4cd5..6270816c0 100644 --- a/cpp/test/phonenumbers/unicodestring_test.cc +++ b/cpp/test/phonenumbers/unicodestring_test.cc @@ -22,17 +22,17 @@ using std::ostream; +namespace i18n { +namespace phonenumbers { + // Used by GTest to print the expected and actual results in case of failure. -ostream& operator<<(ostream& out, const i18n::phonenumbers::UnicodeString& s) { +ostream& operator<<(ostream& out, const UnicodeString& s) { string utf8; s.toUTF8String(utf8); out << utf8; return out; } -namespace i18n { -namespace phonenumbers { - TEST(UnicodeString, ToUTF8StringWithEmptyString) { UnicodeString s; string utf8;