Skip to content
Snippets Groups Projects
Commit c4d71af3 authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

test fix

parent 19ea06d9
No related branches found
No related tags found
No related merge requests found
......@@ -309,13 +309,7 @@ func TestRemovePath(t *testing.T) {
assert.Equal(t, test.removePath, removePathParams.Path)
} else {
r := mc.Removed()
assert.Equalf(t, 1, len(r), "Test %q failed: Call to RemovePath did not propagate prefix", test.name)
removePathParams := r[0]
uninitialized := net.Prefix{}
if removePathParams.Pfx != uninitialized {
t.Errorf("Test %q failed: Call to RemovePath propagated unexpectedly", test.name)
}
assert.Equalf(t, 0, len(r), "Test %q failed: Call to RemovePath propagated unexpectedly", test.name)
}
assert.Equal(t, test.expected, adjRIBIn.rt.Dump())
......
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