landro / TesTcl

when you don't have the balls to test your F5 BIG-IP iRules directly in production
https://testcl.com
BSD 3-Clause "New" or "Revised" License
98 stars 30 forks source link

Make the class command apply the operator to keys, not values #55

Closed wulczer closed 6 years ago

wulczer commented 6 years ago

As can be read in this answer:

the [class] command always compares a given input string with your datagroup entries names. It never uses the data portion of the containing entries for comparsion.

While TesTcl is currently matching datagroup values, not names, when using class.

landro commented 6 years ago

Thanks @wulczer !