all the refactor
This commit is contained in:
@@ -102,7 +102,7 @@ func TestParseRules_Invalid(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRuleSet_Applies(t *testing.T) {
|
||||
rs := MustParseRules("sku=ABC123|XYZ999; category=Shoes|min_total>=10000; min_item_price>=3000")
|
||||
rs := MustParseRules("sku=ABC123|XYZ999; category=Shoes; min_total>=10000; min_item_price>=3000")
|
||||
|
||||
ctx := EvalContext{
|
||||
Items: []Item{
|
||||
|
||||
Reference in New Issue
Block a user