mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
parent
67c317e741
commit
dc184d2737
5 changed files with 137 additions and 3 deletions
|
@ -657,13 +657,13 @@ var orRuleTests = []struct {
|
|||
},
|
||||
// failures
|
||||
{
|
||||
"invalid rule",
|
||||
"missing parameter node",
|
||||
OrRule{
|
||||
{Match: &MatchRule{"value", "", "", "z", Argument{"header", "a", "", false}, ""}},
|
||||
},
|
||||
map[string]interface{}{"Y": "Z"}, nil, nil,
|
||||
[]byte{},
|
||||
false, true,
|
||||
false, false,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue