diff --git a/crates/mind-body/src/projection/domain.rs b/crates/mind-body/src/projection/domain.rs index cce7526..ee92bf9 100644 --- a/crates/mind-body/src/projection/domain.rs +++ b/crates/mind-body/src/projection/domain.rs @@ -397,11 +397,12 @@ pub(crate) struct Digest { pub(crate) items: Vec, } -/// Who ran a ruling's admission, in words after "ruled": by the operator and her where the operator drove a session of -/// hers, by the operator, in her own session; nothing when no one can be told. +/// Who ran a ruling's admission, in words after "ruled": by her with the operator where the operator drove a session of +/// hers (her bond's label for the operator may carry a clause, "Meta, the operator", so it comes last), by the operator, +/// in her own session; nothing when no one can be told. fn by(who: Who, names: &Names) -> String { match who { - Who::OperatorWithHer => format!(" by {} and {}", names.operator, names.her), + Who::OperatorWithHer => format!(" by {} with {}", names.her, names.operator), Who::Operator => format!(" by {}", names.operator), Who::Her => format!(" in {}'s own session", names.her), Who::Unknown => String::new(), diff --git a/crates/mind-body/src/projection/domain/tests.rs b/crates/mind-body/src/projection/domain/tests.rs index dbab7b4..61b84a4 100644 --- a/crates/mind-body/src/projection/domain/tests.rs +++ b/crates/mind-body/src/projection/domain/tests.rs @@ -279,7 +279,7 @@ fn a_fixture_reads_as_the_live_facts_do() { assert_eq!(DomainSource::read(&facts, since(), now()).unwrap(), facts); assert_eq!(texts(&facts), vec![ "- GameCult/Aetheria: merged \"Docs: passages made true\", opened by nibu".to_owned(), - "- aetheria-release: ruled by Meta and Eureka: \"Ship v0.2.0\"".to_owned(), + "- aetheria-release: ruled by Eureka with Meta: \"Ship v0.2.0\"".to_owned(), ]); assert!(toml::from_str::("[[repos]]\nrepo = \"x\"\nwho = \"y\"\n").is_err(), "an unknown key refuses the fixture"); } @@ -305,7 +305,7 @@ fn who_is_the_mind_or_person_that_ran_it_never_a_faculty() { assert_eq!(texts(&facts), vec![ "- camp-0: ruled: \"Hated standing is kill on sight, part 0\"".to_owned(), "- camp-1: ruled in Eureka's own session: \"Hated standing is kill on sight, part 1\"".to_owned(), - "- camp-2: ruled by Meta and Eureka: \"Hated standing is kill on sight, part 2\"".to_owned(), + "- camp-2: ruled by Eureka with Meta: \"Hated standing is kill on sight, part 2\"".to_owned(), "- camp-3: ruled by Meta: \"Hated standing is kill on sight, part 3\"".to_owned(), ]); }