summaryrefslogtreecommitdiffhomepage
path: root/table/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'table/path_test.go')
-rw-r--r--table/path_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/path_test.go b/table/path_test.go
index fe80b3d7..2dc0c3de 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -83,7 +83,7 @@ func TestPathSetNexthop(t *testing.T) {
pd := &PathDefault{}
ip := net.ParseIP("192.168.0.1")
pd.setNexthop(ip)
- nh := pd.getNexthop()
+ nh := pd.GetNexthop()
assert.Equal(t, nh, ip)
}
@@ -91,7 +91,7 @@ func TestPathgetNexthop(t *testing.T) {
pd := &PathDefault{}
ip := net.ParseIP("192.168.0.2")
pd.setNexthop(ip)
- nh := pd.getNexthop()
+ nh := pd.GetNexthop()
assert.Equal(t, nh, ip)
}