Skip to content
Snippets Groups Projects
Commit c9c5864c authored by Oliver Herms's avatar Oliver Herms
Browse files

Typo

parent 33ff3f32
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ type Path struct {
}
// NewTopology creates a new topology
func NewTopologay(nodes []Node, edges []Edge) *Topology {
func NewTopology(nodes []Node, edges []Edge) *Topology {
t := &Topology{
nodes: make(map[Node]int64),
edges: make(map[Node]map[Node]int64),
......
......@@ -234,7 +234,7 @@ func TestSPT(t *testing.T) {
}
for _, test := range tests {
top := NewTopologay(test.nodes, test.edges)
top := NewTopology(test.nodes, test.edges)
spt := top.SPT(Node{Name: "A"})
assert.Equalf(t, test.expected, spt, "Test %q", test.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment