You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package operation
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"gotest.tools/assert"
|
|
)
|
|
|
|
func TestBuild(t *testing.T) {
|
|
op, err := Build("categorize", map[string]any{
|
|
"key": "tags",
|
|
})
|
|
|
|
assert.NilError(t, err)
|
|
assert.DeepEqual(t, op, &Categorize{
|
|
Key: "tags",
|
|
})
|
|
}
|