Documentation ¶ Index ¶ func EqualAttr(t *testing.T, ent *entity.Entity, id entity.Id, expected any, ...) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EqualAttr ¶ func EqualAttr(t *testing.T, ent *entity.Entity, id entity.Id, expected any, msgAndArgs ...any) bool EqualAttr checks if the entity has an attribute with the given ID and if its value matches expected. Returns true if the assertion passes, false otherwise. Types ¶ This section is empty. Source Files ¶ View all Source files enttest.go Click to show internal directories. Click to hide internal directories.