builtin/credential/cert: fix dropped test error (#12184)

This commit is contained in:
Lars Lehtonen 2021-07-28 13:19:23 -07:00 committed by GitHub
parent 4223ddf6fd
commit 7f6602d017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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] ||