graph/topo: fix error reporting for VertexOrdering test
MODIFY
graph/topo/bron_kerbosch_test.go
graph/topo/bron_kerbosch_test.go
@@ -73,7 +73,7 @@ func TestVertexOrdering(t *testing.T) {
}
sort.Sort(ordered.Int64s(got))
if !reflect.DeepEqual(got, want) {
- t.Errorf("unexpected %d-core for test %d:\ngot: %v\nwant:%v", k, i, got, test.wantCore)
+ t.Errorf("unexpected %d-core for test %d:\ngot: %v\nwant:%v", k, i, got, want)
}
for j, n := range core[k] {

graph/topo: fix error reporting for VertexOrdering test