Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
  • Loading branch information
jmle committed Feb 21, 2024
1 parent bf9905d commit 3b95df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/rule_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ func compareWhens(w1 engine.Conditional, w2 engine.Conditional, t *testing.T) {
}
compareConditions(and1.Conditions, and2.Conditions, t)
} else if or1, ok := w1.(engine.OrCondition); ok {
or2, ok := w2.(engine.AndCondition)
or2, ok := w2.(engine.OrCondition)
if !ok {
t.Errorf("rulesets did not have matching when field")
}
Expand Down

0 comments on commit 3b95df2

Please sign in to comment.