1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-30 22:33:49 +02:00
Files
go-micro/plugins/agent/command/animate/animate_test.go
2020-12-26 15:32:45 +00:00

30 lines
368 B
Go

package animate
import (
"testing"
)
func TestAnimate(t *testing.T) {
// TODO: fix test
return
testData := []struct {
text string
}{
{"funny cat"},
}
command := Animate()
for _, d := range testData {
rsp, err := command.Exec("animate", d.text)
if err != nil {
t.Fatal(err)
}
if rsp == nil {
t.Fatal("expected result, got nil")
}
}
}