From 196ac6475882356695cf7b280e7da02a553748ab Mon Sep 17 00:00:00 2001
From: Daniel Czerwonk <daniel@dan-nrw.de>
Date: Thu, 17 May 2018 12:11:51 +0200
Subject: [PATCH] improved test to include testing of position of appended path

---
 routingtable/filter/actions/as_path_prepend_action_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/routingtable/filter/actions/as_path_prepend_action_test.go b/routingtable/filter/actions/as_path_prepend_action_test.go
index c2fa1408..348116cc 100644
--- a/routingtable/filter/actions/as_path_prepend_action_test.go
+++ b/routingtable/filter/actions/as_path_prepend_action_test.go
@@ -33,10 +33,10 @@ func TestAppendPath(t *testing.T) {
 			name:  "append 3",
 			times: 3,
 			bgpPath: &route.BGPPath{
-				ASPath:    "12345 12345",
+				ASPath:    "12345 15169",
 				ASPathLen: 2,
 			},
-			expectedPath:   "12345 12345 12345 12345 12345",
+			expectedPath:   "12345 12345 12345 12345 15169",
 			expectedLength: 5,
 		},
 	}
-- 
GitLab