summaryrefslogtreecommitdiffhomepage
path: root/table/destination_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/destination_test.go')
-rw-r--r--table/destination_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/destination_test.go b/table/destination_test.go
index f6005588..7c30764a 100644
--- a/table/destination_test.go
+++ b/table/destination_test.go
@@ -82,7 +82,7 @@ func TestDestinationSetBestPath(t *testing.T) {
pathD := DestCreatePath(peerD)
ipv4d := NewIPv4Destination(pathD[0].GetNlri())
ipv4d.setBestPath(pathD[0])
- r_pathD := ipv4d.getBestPath()
+ r_pathD := ipv4d.GetBestPath()
assert.Equal(t, r_pathD, pathD[0])
}
func TestDestinationGetBestPath(t *testing.T) {
@@ -90,7 +90,7 @@ func TestDestinationGetBestPath(t *testing.T) {
pathD := DestCreatePath(peerD)
ipv4d := NewIPv4Destination(pathD[0].GetNlri())
ipv4d.setBestPath(pathD[0])
- r_pathD := ipv4d.getBestPath()
+ r_pathD := ipv4d.GetBestPath()
assert.Equal(t, r_pathD, pathD[0])
}
func TestDestinationCalculate(t *testing.T) {