From 88e811eefb07baeba385092ca71b7ef574e004f9 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Sat, 31 Aug 2019 06:59:50 -0600 Subject: [PATCH] Removed redundant test --- hatmill_test.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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)