Add additional tests for PathStrip{Prefix}.
This commit is contained in:
parent
f7d9dfafd0
commit
b392023c37
1 changed files with 11 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue