Closed
Description
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 exception
e.equivalent do |control_exp, candidate_exp|
# Ignore the message contents
control_exp.class == candidate_exp
end
end
- I'm not set on the name, please suggest anything better.
Metadata
Metadata
Assignees
Labels
No labels