aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel/uri_parser_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/client_channel/uri_parser_test.cc')
-rw-r--r--test/core/client_channel/uri_parser_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/client_channel/uri_parser_test.cc b/test/core/client_channel/uri_parser_test.cc
index ec4f755dda..713ec32e5e 100644
--- a/test/core/client_channel/uri_parser_test.cc
+++ b/test/core/client_channel/uri_parser_test.cc
@@ -119,7 +119,7 @@ static void test_query_parts() {
}
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
test_succeeds("http://www.google.com", "http", "www.google.com", "", "", "");
test_succeeds("dns:///foo", "dns", "", "/foo", "", "");