diff options
Diffstat (limited to 'table/destination_test.go')
-rw-r--r-- | table/destination_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/table/destination_test.go b/table/destination_test.go index 8624bc8d..dce14250 100644 --- a/table/destination_test.go +++ b/table/destination_test.go @@ -65,14 +65,14 @@ func TestDestinationGetNlri(t *testing.T) { } func TestDestinationSetBestPathReason(t *testing.T) { dd := &Destination{} - reason := "reason1" + reason := BestPathReason("reason1") dd.setBestPathReason(reason) r_reason := dd.getBestPathReason() assert.Equal(t, r_reason, reason) } func TestDestinationGetBestPathReason(t *testing.T) { dd := &Destination{} - reason := "reason2" + reason := BestPathReason("reason2") dd.setBestPathReason(reason) r_reason := dd.getBestPathReason() assert.Equal(t, r_reason, reason) |