Retain request dependencies only when discovery supplies the answer
This commit is contained in:
1 parent
8780b40bb7
commit
0e838e9dd1
7 files changed
+183
-50
No files matched your search
@@ -356,7 +356,7 @@ fn change(case: Case, warm: &mut Harness, tree: &mut Tree, plan: &Plan, rng: &mu
|
||||
/// out by hand. A failure is a lead; the fast test that replaces it has to be
|
||||
/// buildable from what the failure printed.
|
||||
fn describe(id: WidgetId, h: &Harness) -> String {
|
||||
let rules = h.rsc.widgets().size_rules(id);
|
||||
let rules = h.rsc.widgets().size_rules(id).clone();
|
||||
// A bound prints as itself: a failure is reproduced from what it printed,
|
||||
// and a rule shown as "no rule" cannot be written out again.
|
||||
let rule = |r: SizeRule| match r {
|
||||
|
||||
Reference in new issue
Block a user