aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client/tests/badreq.cc
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2018-11-30 08:57:28 -0800
committerGravatar yang-g <yangg@google.com>2018-11-30 08:57:38 -0800
commite75fc243daa36e6eee8742289ee47101f4a82afe (patch)
tree71632a4fecd07b597a1a818bb3da3684f99bb088 /test/core/bad_client/tests/badreq.cc
parent2a938b0006c098cba1c559afacdd311c55afa723 (diff)
change tests to use the new class instead of grpc_test_init
Diffstat (limited to 'test/core/bad_client/tests/badreq.cc')
-rw-r--r--test/core/bad_client/tests/badreq.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/bad_client/tests/badreq.cc b/test/core/bad_client/tests/badreq.cc
index eeaf4c9974..c560dc5561 100644
--- a/test/core/bad_client/tests/badreq.cc
+++ b/test/core/bad_client/tests/badreq.cc
@@ -39,7 +39,7 @@ static void verifier(grpc_server* server, grpc_completion_queue* cq,
}
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
/* invalid content type */