diff --git a/crates/mind-body/src/projection/interpret/tests.rs b/crates/mind-body/src/projection/interpret/tests.rs index 92e8684..9c372cd 100644 --- a/crates/mind-body/src/projection/interpret/tests.rs +++ b/crates/mind-body/src/projection/interpret/tests.rs @@ -1831,6 +1831,10 @@ fn k44_used_and_duplicate_are_not_told_and_a_second_amendment_is() { let lines = twice.lines(packet().forms); assert_eq!(lines, vec!["- #minds:gamecult.org has, from him: \"Morning, Nibu.\".".to_owned()], "{lines:?}"); assert!(twice.omitted.iter().any(|why| why.contains("\"used\"")) && twice.omitted.iter().any(|why| why.contains("\"duplicate\"")), "{:?}", twice.omitted); + // Not even with no receipt for the line: whether it reached the room is then unknown (I16.10), and the Interpreter's + // second naming of one draft is never what she is told. + let unposted = crate::projection::outcome::outcome_of(&json!({ "interpreter": answered(&packet(), prose, json!({ "say": [say(1), say(1), say(2)], "gaps": [] })), "posted": [], "edited": [] })).unwrap(); + assert!(unposted.lines(packet().forms).is_empty(), "{:?}", unposted.lines(packet().forms)); let amends = record(&amendable_packet(), "Sent at nine. Still here.", json!({ "say": [], "gaps": [], "amend": [{ "target": "a1", "draft": 1, "holds": [], "promises": [] }, { "target": "a2", "draft": 2, "holds": [], "promises": [] }] })); assert!(amends.lines(packet().forms).contains(&"- Nothing of this reached #minds:gamecult.org: one amendment a turn. He wrote: \"Still here.\".".to_owned()), "{:?}", amends.lines(packet().forms)); // Negative: a number naming no draft has no words to tell; it stays omitted and reported.