Add additional tests for PathStrip{Prefix}.

This commit is contained in:
Timo Reimann 2017-05-19 11:50:36 +02:00 committed by Ludovic Fernandez
parent f7d9dfafd0
commit b392023c37

View file

@ -337,10 +337,20 @@ func TestRuleType(t *testing.T) {
frontendRuleType: ruleTypePathPrefix,
},
{
desc: "rule type annotation set",
desc: "Path rule type annotation set",
ingressRuleType: "Path",
frontendRuleType: "Path",
},
{
desc: "PathStrip rule type annotation set",
ingressRuleType: "PathStrip",
frontendRuleType: "PathStrip",
},
{
desc: "PathStripPrefix rule type annotation set",
ingressRuleType: "PathStripPrefix",
frontendRuleType: "PathStripPrefix",
},
}
for _, test := range tests {