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 b913520f..20083785 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -151,9 +151,9 @@ func TestPathGetPrefix(t *testing.T) {
peerP := PathCreatePeer()
msgP := PathCreateMSG(peerP)
pathP := PathCreatePath(msgP)
- prefix := "10.10.10.0"
+ prefix := "10.10.10.0/24"
r_prefix := pathP[0].getPrefix()
- assert.Equal(t, r_prefix.String(), prefix)
+ assert.Equal(t, r_prefix, prefix)
}
func TestPathGetAttribute(t *testing.T) {
peerP := PathCreatePeer()