MCPcopy Create free account
hub / github.com/crewjam/saml / attributeValueParse

Function attributeValueParse

attribute_value_test.go:12–18  ·  view source on GitHub ↗
(t *testing.T, s string)

Source from the content-addressed store, hash-verified

10)
11
12func attributeValueParse(t *testing.T, s string) AttributeValue {
13 t.Helper()
14 var attr Attribute
15 assert.NilError(t, xml.Unmarshal([]byte(s), &attr))
16 assert.Assert(t, is.Len(attr.Values, 1))
17 return attr.Values[0]
18}
19
20func attributeValueString(t *testing.T, el *etree.Element) string {
21 t.Helper()

Calls 1

LenMethod · 0.80

Tested by

no test coverage detected