diff --git a/client/client_ad_integration_test.go b/client/client_ad_integration_test.go index f26027ab..abdc51b6 100644 --- a/client/client_ad_integration_test.go +++ b/client/client_ad_integration_test.go @@ -53,7 +53,10 @@ func TestClient_GetServiceTicket_AD(t *testing.T) { if err != nil { t.Errorf("could not decrypt service ticket: %v", err) } - isPAC, pac, err := tkt.GetPACType(skt, "sysHTTP") + isPAC, pac, e := tkt.GetPACType(skt, "sysHTTP") + if e != nil { + t.Errorf("error getting PAC: %v", e) + } assert.True(t, isPAC, "should have PAC") assert.Equal(t, "TEST.GOKRB5", pac.KerbValidationInfo.LogonDomainName.String(), "domain name in PAC not correct") } diff --git a/config/error.go b/config/error.go index 5284738d..1fbda51f 100644 --- a/config/error.go +++ b/config/error.go @@ -2,7 +2,7 @@ package config import "fmt" -// Unsupported directive error. +// UnsupportedDirective error. type UnsupportedDirective struct { text string }