package auth import ( "testing" ) func TestErrorsExported(t *testing.T) { // Verify the error sentinels are accessible and non-nil. if ErrInvalidCredentials == nil { t.Error("ErrInvalidCredentials is nil") } if ErrInvalidToken == nil { t.Error("ErrInvalidToken is nil") } if ErrForbidden == nil { t.Error("ErrForbidden is nil") } if ErrUnavailable == nil { t.Error("ErrUnavailable is nil") } }