summaryrefslogtreecommitdiffhomepage
path: root/table/table_manager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/table_manager_test.go')
-rw-r--r--table/table_manager_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/table_manager_test.go b/table/table_manager_test.go
index c9d6e22a..8c9a8ab4 100644
--- a/table/table_manager_test.go
+++ b/table/table_manager_test.go
@@ -1639,7 +1639,7 @@ func TestProcessBGPUpdate_bestpath_lost_ipv4(t *testing.T) {
assert.NoError(t, err)
// check old best path
- path := wList[0].getOldBestPath()
+ path := wList[0].GetOldBestPath()
expectedType := "*table.IPv4Path"
assert.Equal(t, reflect.TypeOf(path).String(), expectedType)
@@ -1719,7 +1719,7 @@ func TestProcessBGPUpdate_bestpath_lost_ipv6(t *testing.T) {
assert.NoError(t, err)
// check old best path
- path := wList[0].getOldBestPath()
+ path := wList[0].GetOldBestPath()
expectedType := "*table.IPv6Path"
assert.Equal(t, reflect.TypeOf(path).String(), expectedType)