From d93f574d14a2e52a1d7dfd1e256f70c6eb9644ef Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 19:33:32 +0000 Subject: 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. --- src/federation/party.rs | 7 ++----- 1 file 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(), ) -- cgit v1.3.1