diff --git a/hatmill_test.go b/hatmill_test.go index c96734f..88a02b1 100644 --- a/hatmill_test.go +++ b/hatmill_test.go @@ -106,15 +106,7 @@ func TestAttrib(t *testing.T) { nonEmptyAlphaString, )) - properties.Property("writes key=value when value is not empty", prop.ForAll( - func(attrib hatmill.Attrib) bool { - expected := fmt.Sprintf("%s='%s'", attrib.Key, attrib.Value) - return checkWrite(attrib, expected) - }, - attribGen(nonEmptyAlphaString), - )) - - properties.Property("WriteTo escapes attribute value", prop.ForAll( + properties.Property("writes key=value with escaped value when value is not empty", prop.ForAll( func(attrib hatmill.Attrib) bool { expected := fmt.Sprintf("%s='%s'", attrib.Key, html.EscapeString(attrib.Value)) return checkWrite(attrib, expected)