(t *testing.T)
| 90 | } |
| 91 | |
| 92 | func TestParseGraph_InvalidGroupDefinition(t *testing.T) { |
| 93 | nodes := []string{"1"} |
| 94 | input := `a = 1 = b` |
| 95 | _, err := ParseGraph(strings.Split(input, "\n"), nodes) |
| 96 | assert.ErrorContains(t, err, ". group definition must contain one '='") |
| 97 | } |
| 98 | |
| 99 | func TestParseGraph_Single(t *testing.T) { |
| 100 | nodes := []string{"1", "2", "3", "4", "5"} |
nothing calls this directly
no test coverage detected