From 38ef9a066c7082ee88b3b7166e01ce03a8b67bfd Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Wed, 28 Jul 2021 13:19:23 -0700 Subject: [PATCH] builtin/credential/cert: fix dropped test error (#12184) --- builtin/credential/cert/backend_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin/credential/cert/backend_test.go b/builtin/credential/cert/backend_test.go index 59ef14c8a7..9ad940cda7 100644 --- a/builtin/credential/cert/backend_test.go +++ b/builtin/credential/cert/backend_test.go @@ -1377,6 +1377,9 @@ func TestBackend_validCIDR(t *testing.T) { } readResult, err := b.HandleRequest(context.Background(), readCertReq) + if err != nil { + t.Fatal(err) + } cidrsResult := readResult.Data["bound_cidrs"].([]*sockaddr.SockAddrMarshaler) if cidrsResult[0].String() != boundCIDRs[0] ||