From 77b64b13028d94a54491e606eed4dc759ec46dd2 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Thu, 24 Sep 2020 21:55:11 +0200 Subject: Add space before auto-closing element (#20) --- attr/attributes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'attr/attributes_test.go') diff --git a/attr/attributes_test.go b/attr/attributes_test.go index 4da28e3..c2ddff0 100644 --- a/attr/attributes_test.go +++ b/attr/attributes_test.go @@ -32,7 +32,7 @@ func TestClasses(t *testing.T) { t.Run("renders as attribute in an element", func(t *testing.T) { e := g.El("div", attr.Classes{"hat": true}) - assert.Equal(t, `
`, e) + assert.Equal(t, `
`, e) }) t.Run("also works with fmt", func(t *testing.T) { -- cgit 1.4.1