mirror of
https://github.com/wahyd4/ingress-nginx.git
synced 2026-08-08 21:06:47 +10:00
remove unused test and function
This commit is contained in:
@@ -1221,15 +1221,6 @@ func TestEnforceRegexModifier(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestStripLocationModifer(t *testing.T) {
|
||||
expected := "ok.com"
|
||||
actual := stripLocationModifer("~*ok.com")
|
||||
|
||||
if expected != actual {
|
||||
t.Errorf("Expected '%v' but returned '%v'", expected, actual)
|
||||
}
|
||||
}
|
||||
|
||||
func TestShouldLoadModSecurityModule(t *testing.T) {
|
||||
// ### Invalid argument type tests ###
|
||||
// The first tests should return false.
|
||||
|
||||
Reference in New Issue
Block a user