aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation/party.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-19 19:33:32 +0000
committertv <tv@krebsco.de>2026-11-19 20:35:16 +0100
commitd93f574d14a2e52a1d7dfd1e256f70c6eb9644ef (patch)
tree8368fdb0c89add1896fe8ec4e45637c2dff1c87a /src/federation/party.rs
parentd45594b6075a3aff41fec07f2071b08399d4e944 (diff)
party: the change test without the rule the harness gives already
Spec::first begins every first version with home/{party}/**; the test gave it again, so the version had four rules, not the three it counted.
Diffstat (limited to 'src/federation/party.rs')
-rw-r--r--src/federation/party.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/federation/party.rs b/src/federation/party.rs
index 492a76b..8f69e49 100644
--- a/src/federation/party.rs
+++ b/src/federation/party.rs
@@ -2556,14 +2556,11 @@ mod tests {
Party::new("lass", 2),
Party::new("makefu", 3),
);
+ // Rules: home/{party}/** (as every first version the harness spells), then these.
let current = Version::read(
&Spec::first(
&[&tv, &lass],
- &[
- ("names/r/wiki", str("lass")),
- ("home/{party}/**", str("{party}")),
- ("names/**", str("tv")),
- ],
+ &[("names/r/wiki", str("lass")), ("names/**", str("tv"))],
)
.json(),
)