summaryrefslogtreecommitdiffhomepage
path: root/table/path_test.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-27 06:58:50 -0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-27 06:58:50 -0800
commita3c1e53deda9f9834994751382f64827c14a9c32 (patch)
tree7c9504d979ac1afe425d8e57cb8117c389ec8f8c /table/path_test.go
parenteff70c21375742b44ae5ebfd845dba38d0f3fcfc (diff)
RouteFamily cleanup
RouteFamily is defined in two files. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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 786dad26..51fe6328 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -57,9 +57,9 @@ func TestPathIPv6GetDefault(t *testing.T) {
}
func TestPathGetRouteFamily(t *testing.T) {
- pd := &PathDefault{routeFamily: RF_IPv6_UC}
+ pd := &PathDefault{routeFamily: bgp.RF_IPv6_UC}
rf := pd.GetRouteFamily()
- assert.Equal(t, rf, RF_IPv6_UC)
+ assert.Equal(t, rf, bgp.RF_IPv6_UC)
}
func TestPathSetSource(t *testing.T) {