aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/stream_owned_slice_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/transport/stream_owned_slice_test.cc')
-rw-r--r--test/core/transport/stream_owned_slice_test.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/core/transport/stream_owned_slice_test.cc b/test/core/transport/stream_owned_slice_test.cc
index 7831f67a04..e82df2117d 100644
--- a/test/core/transport/stream_owned_slice_test.cc
+++ b/test/core/transport/stream_owned_slice_test.cc
@@ -20,14 +20,12 @@
#include "test/core/util/test_config.h"
-#include <grpc/grpc.h>
#include <grpc/support/log.h>
-static void do_nothing(void* arg, grpc_error* error) {}
+static void do_nothing(grpc_exec_ctx* exec_ctx, void* arg, grpc_error* error) {}
int main(int argc, char** argv) {
grpc_test_init(argc, argv);
- grpc_init();
uint8_t buffer[] = "abc123";
grpc_stream_refcount r;
@@ -41,6 +39,5 @@ int main(int argc, char** argv) {
grpc_slice_unref(slice);
GPR_ASSERT(r.refs.count == 1);
- grpc_shutdown();
return 0;
}