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