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

improved test to include testing of position of appended path

parent 9261a0be
No related branches found
No related tags found
No related merge requests found
...@@ -33,10 +33,10 @@ func TestAppendPath(t *testing.T) { ...@@ -33,10 +33,10 @@ func TestAppendPath(t *testing.T) {
name: "append 3", name: "append 3",
times: 3, times: 3,
bgpPath: &route.BGPPath{ bgpPath: &route.BGPPath{
ASPath: "12345 12345", ASPath: "12345 15169",
ASPathLen: 2, ASPathLen: 2,
}, },
expectedPath: "12345 12345 12345 12345 12345", expectedPath: "12345 12345 12345 12345 15169",
expectedLength: 5, expectedLength: 5,
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment