aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/slice_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/util/slice_test.cc')
-rw-r--r--test/cpp/util/slice_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/slice_test.cc b/test/cpp/util/slice_test.cc
index 36ffeb66bd..eb328490e1 100644
--- a/test/cpp/util/slice_test.cc
+++ b/test/cpp/util/slice_test.cc
@@ -39,6 +39,8 @@
namespace grpc {
namespace {
+const char* kContent = "hello xxxxxxxxxxxxxxxxxxxx world";
+
class SliceTest : public ::testing::Test {
protected:
void CheckSlice(const Slice& s, const grpc::string& content) {
@@ -46,8 +48,6 @@ class SliceTest : public ::testing::Test {
EXPECT_EQ(content,
grpc::string(reinterpret_cast<const char*>(s.begin()), s.size()));
}
-
- const char* kContent = "hello xxxxxxxxxxxxxxxxxxxx world";
};
TEST_F(SliceTest, Steal) {