You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the control path and the candidate both raise an exception, there isn't a way to compare them today. The comparison is currently hardcoded here. Would there be any interest in accepting a patch that added the equivalent* method to experiments?
science"widget-permissions"do |e|
e.use{raise"Foo"}e.try{raise"Bar"}# Only called when both paths raise an exceptione.equivalentdo |control_exp,candidate_exp|
# Ignore the message contentscontrol_exp.class == candidate_expendend
I'm not set on the name, please suggest anything better.
The text was updated successfully, but these errors were encountered:
@jbarnette We're running into this exact issue. Would you consider a PR that would add support for a configurable error_compare in addition to compare?
If the control path and the candidate both raise an exception, there isn't a way to compare them today. The comparison is currently hardcoded here. Would there be any interest in accepting a patch that added the
equivalent
* method to experiments?The text was updated successfully, but these errors were encountered: