Explorar o código

rewrite the test case to confirm the new parsing rule

Shelikhoo %!s(int64=4) %!d(string=hai) anos
pai
achega
fc2a37492a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      infra/conf/router_test.go

+ 1 - 0
infra/conf/router_test.go

@@ -127,6 +127,7 @@ func TestRouterConfig(t *testing.T) {
 					{
 						Tag:              "b1",
 						OutboundSelector: []string{"test"},
+						Strategy:         "random",
 					},
 				},
 				Rule: []*router.RoutingRule{