aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel/resolvers/dns_resolver_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/client_channel/resolvers/dns_resolver_test.c')
-rw-r--r--test/core/client_channel/resolvers/dns_resolver_test.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/core/client_channel/resolvers/dns_resolver_test.c b/test/core/client_channel/resolvers/dns_resolver_test.c
index a14926f173..ef3c1b8216 100644
--- a/test/core/client_channel/resolvers/dns_resolver_test.c
+++ b/test/core/client_channel/resolvers/dns_resolver_test.c
@@ -25,13 +25,13 @@
#include "src/core/lib/iomgr/combiner.h"
#include "test/core/util/test_config.h"
-static grpc_combiner *g_combiner;
+static grpc_combiner* g_combiner;
-static void test_succeeds(grpc_resolver_factory *factory, const char *string) {
+static void test_succeeds(grpc_resolver_factory* factory, const char* string) {
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- grpc_uri *uri = grpc_uri_parse(&exec_ctx, string, 0);
+ grpc_uri* uri = grpc_uri_parse(&exec_ctx, string, 0);
grpc_resolver_args args;
- grpc_resolver *resolver;
+ grpc_resolver* resolver;
gpr_log(GPR_DEBUG, "test: '%s' should be valid for '%s'", string,
factory->vtable->scheme);
GPR_ASSERT(uri);
@@ -45,11 +45,11 @@ static void test_succeeds(grpc_resolver_factory *factory, const char *string) {
grpc_exec_ctx_finish(&exec_ctx);
}
-static void test_fails(grpc_resolver_factory *factory, const char *string) {
+static void test_fails(grpc_resolver_factory* factory, const char* string) {
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- grpc_uri *uri = grpc_uri_parse(&exec_ctx, string, 0);
+ grpc_uri* uri = grpc_uri_parse(&exec_ctx, string, 0);
grpc_resolver_args args;
- grpc_resolver *resolver;
+ grpc_resolver* resolver;
gpr_log(GPR_DEBUG, "test: '%s' should be invalid for '%s'", string,
factory->vtable->scheme);
GPR_ASSERT(uri);
@@ -62,8 +62,8 @@ static void test_fails(grpc_resolver_factory *factory, const char *string) {
grpc_exec_ctx_finish(&exec_ctx);
}
-int main(int argc, char **argv) {
- grpc_resolver_factory *dns;
+int main(int argc, char** argv) {
+ grpc_resolver_factory* dns;
grpc_test_init(argc, argv);
grpc_init();