aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/common/channel_arguments_test.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-08 08:56:18 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-08 08:56:18 -0800
commitcd78879c564c3043584fcb19e552e8dd3981cf6e (patch)
tree98b8ad4c2de5976fd6d759f093932fe0dd9afb3c /test/cpp/common/channel_arguments_test.cc
parentf9b87301aada7bd80f8487bb0527bfb4c0eaa034 (diff)
Fix test
Diffstat (limited to 'test/cpp/common/channel_arguments_test.cc')
-rw-r--r--test/cpp/common/channel_arguments_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/common/channel_arguments_test.cc b/test/cpp/common/channel_arguments_test.cc
index 1443eb2f68..342f6a5339 100644
--- a/test/cpp/common/channel_arguments_test.cc
+++ b/test/cpp/common/channel_arguments_test.cc
@@ -33,6 +33,7 @@
#include <grpc++/support/channel_arguments.h>
+#include <grpc++/grpc++.h>
#include <grpc/grpc.h>
#include <gtest/gtest.h>
@@ -53,7 +54,7 @@ class ChannelArgumentsTest : public ::testing::Test {
grpc::string GetDefaultUserAgentPrefix() {
std::ostringstream user_agent_prefix;
- user_agent_prefix << "grpc-c++/" << grpc_version_string();
+ user_agent_prefix << "grpc-c++/" << Version();
return user_agent_prefix.str();
}