aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/access/holding.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/access/holding.rs b/src/access/holding.rs
index 3820e79..9f01a0a 100644
--- a/src/access/holding.rs
+++ b/src/access/holding.rs
@@ -396,7 +396,8 @@ mod tests {
meta::path(&[meta::SWARM]),
crate::access::policy::path(),
];
- store::write_path(doc, rng.pick(&closed), &json!(1))?
+ let path = rng.pick(&closed);
+ store::write_path(doc, path, &json!(1))?
}
}
}