summaryrefslogtreecommitdiffhomepage
path: root/table/table_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/table_test.go')
-rw-r--r--table/table_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/table_test.go b/table/table_test.go
index 9f1e6f16..0ece7568 100644
--- a/table/table_test.go
+++ b/table/table_test.go
@@ -32,7 +32,7 @@ func TestTableDeleteDestByNlri(t *testing.T) {
ipv4t.setDestination(tableKey, dest)
}
tableKey := ipv4t.tableKey(pathT[0].GetNlri())
- gdest := ipv4t.getDestination(tableKey)
+ gdest := ipv4t.GetDestination(tableKey)
rdest := ipv4t.deleteDestByNlri(pathT[0].GetNlri())
assert.Equal(t, rdest, gdest)
}
@@ -50,7 +50,7 @@ func TestTableDeleteDest(t *testing.T) {
dest := NewDestination(pathT[0].GetNlri())
ipv4t.setDestination(tableKey, dest)
ipv4t.deleteDest(dest)
- gdest := ipv4t.getDestination(tableKey)
+ gdest := ipv4t.GetDestination(tableKey)
assert.Nil(t, gdest)
}