summaryrefslogtreecommitdiff
path: root/core/fxcrt/bytestring_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/bytestring_unittest.cpp')
-rw-r--r--core/fxcrt/bytestring_unittest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fxcrt/bytestring_unittest.cpp b/core/fxcrt/bytestring_unittest.cpp
index 06ba1f42fd..e1c832e114 100644
--- a/core/fxcrt/bytestring_unittest.cpp
+++ b/core/fxcrt/bytestring_unittest.cpp
@@ -11,6 +11,8 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/base/stl_util.h"
+namespace fxcrt {
+
TEST(ByteString, ElementAccess) {
const ByteString abc("abc");
EXPECT_EQ('a', abc[0]);
@@ -1640,3 +1642,5 @@ TEST(ByteString, FormatInteger) {
EXPECT_EQ("2147483647", ByteString::FormatInteger(INT_MAX));
EXPECT_EQ("-2147483648", ByteString::FormatInteger(INT_MIN));
}
+
+} // namespace fxcrt