enttest

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL