encoding/dot: support edge ports on Unmarshal/decode

This commit is contained in:
J. Holmes
2018-04-15 23:01:32 -06:00
committed by Dan Kortschak
parent 46ea2fd92c
commit cb2511e4c8
8 changed files with 121 additions and 29 deletions

View File

@@ -55,10 +55,7 @@ func TestParseFile(t *testing.T) {
out: "../internal/testdata/attr_sep.golden",
},
{in: "../internal/testdata/subgraph_vertex.dot"},
{
in: "../internal/testdata/port.dot",
out: "../internal/testdata/port.golden",
},
{in: "../internal/testdata/port.dot"},
}
for _, g := range golden {
file, err := dot.ParseFile(g.in)