From ff937d52a3945dd95a976fb23557cc298074ead1 Mon Sep 17 00:00:00 2001 From: Jeremy Lewi Date: Thu, 21 Nov 2024 18:49:01 -0800 Subject: [PATCH] Fix lint. --- app/pkg/agent/agent_test.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/pkg/agent/agent_test.go b/app/pkg/agent/agent_test.go index 503c5d0..48f090e 100644 --- a/app/pkg/agent/agent_test.go +++ b/app/pkg/agent/agent_test.go @@ -1,11 +1,9 @@ package agent import ( - "connectrpc.com/connect" "context" "crypto/tls" "fmt" - "github.com/jlewi/foyle/app/pkg/runme/ulid" "io" "net" "net/http" @@ -15,6 +13,9 @@ import ( "testing" "time" + "connectrpc.com/connect" + "github.com/jlewi/foyle/app/pkg/runme/ulid" + "github.com/google/go-cmp/cmp/cmpopts" "github.com/google/go-cmp/cmp" @@ -218,7 +219,9 @@ func Test_Streaming(t *testing.T) { t.Fatalf("Error waiting for server; %v", err) } log.Info("Server started") - runClient(addr) + if err := runClient(addr); err != nil { + t.Fatalf("Error running client for addres %v; %v", addr, err) + } } func waitForServer(addr string) error {