From c2e0974b3d856ca1ccacf6572b372102f2356246 Mon Sep 17 00:00:00 2001 From: vinhha Date: Sat, 9 May 2020 14:24:42 +0700 Subject: [PATCH] test(router-test): reverse the order when register router when test func GetFullPath --- routes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes_test.go b/routes_test.go index 360ade62..f19035e8 100644 --- a/routes_test.go +++ b/routes_test.go @@ -585,6 +585,7 @@ func TestRouteContextHoldsFullPath(t *testing.T) { // Test routes routes := []string{ "/simple", + "/project/:name/bui", "/project/:name", "/", "/news/home", @@ -592,7 +593,6 @@ func TestRouteContextHoldsFullPath(t *testing.T) { "/simple-two/one", "/simple-two/one-two", "/project/:name/build/*params", - "/project/:name/bui", } for _, route := range routes {