(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestParseGraph_GroupNameIsNodeName(t *testing.T) { |
| 86 | nodes := []string{"1"} |
| 87 | input := `1 = 1` |
| 88 | _, err := ParseGraph(strings.Split(input, "\n"), nodes) |
| 89 | assert.ErrorContains(t, err, "group name must not be a node name: 1") |
| 90 | } |
| 91 | |
| 92 | func TestParseGraph_InvalidGroupDefinition(t *testing.T) { |
| 93 | nodes := []string{"1"} |
nothing calls this directly
no test coverage detected