package attribute_test import ( "testing" "gitlab.codemonkeysoftware.net/b/hatmill/attribute" ) func TestBool(t *testing.T) { attrib := attribute.Disabled(true) if attrib.Value != nil { t.Fatalf("expected attribute value to be nil, but got %#v", attrib.Value) } }