(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func TestComposeWithStandardGraphAndURL(t *testing.T) { |
| 131 | g := baseGraph() |
| 132 | a, c := baseAttrsAndConfig() |
| 133 | c.LegendURL = "http://example.com" |
| 134 | |
| 135 | var buf bytes.Buffer |
| 136 | ComposeDot(&buf, g, a, c) |
| 137 | |
| 138 | compareGraphs(t, buf.Bytes(), "compose6.dot") |
| 139 | } |
| 140 | |
| 141 | func TestComposeWithNamesThatNeedEscaping(t *testing.T) { |
| 142 | g := baseGraph() |
nothing calls this directly
no test coverage detected
searching dependent graphs…