(t *testing.T, s string)
| 10 | ) |
| 11 | |
| 12 | func 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 | |
| 20 | func attributeValueString(t *testing.T, el *etree.Element) string { |
| 21 | t.Helper() |
no test coverage detected