From 3349abcc393df4090c953919ef52cfc6616c3cc7 Mon Sep 17 00:00:00 2001 From: Mark Chmarny Date: Mon, 22 Jun 2020 08:17:21 -0700 Subject: [PATCH] test formatting cleanup --- Makefile | 8 ++++---- client/client_test.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8ad47f3..931bbaf 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,13 @@ test: mod ## Tests the entire project service: mod ## Runs the uncompiled example service code dapr run --app-id serving \ --protocol grpc \ - --app-port 50001 \ - go run example/serving/main.go + --app-port 50001 \ + go run example/serving/main.go client: mod ## Runs the uncompiled example client code dapr run --app-id caller \ - --components-path example/client/comp \ - go run example/client/main.go + --components-path example/client/comp \ + go run example/client/main.go lint: ## Lints the entire project golangci-lint run --timeout=3m diff --git a/client/client_test.go b/client/client_test.go index c1764b6..cc0b9a8 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -54,9 +54,9 @@ func getTestClient(ctx context.Context, t *testing.T) (client Client, closer fun return l.Dial() }) - c, err := grpc.DialContext(ctx, "bufnet", d, grpc.WithInsecure()) + c, err := grpc.DialContext(ctx, "", d, grpc.WithInsecure()) if err != nil { - t.Fatalf("failed to dial bufnet: %v", err) + t.Fatalf("failed to dial test context: %v", err) } closer = func() {