MCPcopy Create free account
hub / github.com/encodeous/nylon / TestParseGraph_EmptyGroup

Function TestParseGraph_EmptyGroup

state/config_test.go:78–83  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

76}
77
78func TestParseGraph_EmptyGroup(t *testing.T) {
79 nodes := []string{"1"}
80 input := `a =`
81 _, err := ParseGraph(strings.Split(input, "\n"), nodes)
82 assert.ErrorContains(t, err, "node/group list must not be empty")
83}
84
85func TestParseGraph_GroupNameIsNodeName(t *testing.T) {
86 nodes := []string{"1"}

Callers

nothing calls this directly

Calls 1

ParseGraphFunction · 0.85

Tested by

no test coverage detected