Files
ARTEX-chixuweihu/server/goals_test.go

13 lines
231 B
Go

package server
import (
"context"
"testing"
)
func TestCreateGoalsNilTask(t *testing.T) {
if got := (&Server{}).createGoals(context.Background(), nil, nil); len(got) != 0 {
t.Fatalf("nil task produced goals: %+v", got)
}
}