Outcome guard fix-up: the sentinel test says when the sentence was said: before he wrote it, withheld; after, his own line quoted back, shown
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
886bab8dd4
commit
3df69caa51
1 changed files with 3 additions and 1 deletions
|
|
@ -276,7 +276,9 @@ fn a_quote_that_is_mostly_words_she_was_sent_this_turn_is_not_shown_to_the_proje
|
|||
let said = "QUARTZ-HERON-SENTINEL is back at the door.";
|
||||
let outcome = outcome_of(&record(&format!("<typed>{said}</typed>"), json!({ "say": [{ "draft": 1 }], "gaps": [] }), &[said])).unwrap();
|
||||
let her = packet().forms;
|
||||
assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), "- #minds:gamecult.org has, from him: (his words, not shown here).");
|
||||
// Said before he wrote it: someone else's words, withheld. Said after: his own line quoted back, shown (map 16.23.4).
|
||||
assert_eq!(outcome.line(0, her, usize::MAX, &[(0, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), "- #minds:gamecult.org has, from him: (his words, not shown here).");
|
||||
assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Heimdall, QUARTZ-HERON-SENTINEL is back at the door.".to_owned())]), format!("- #minds:gamecult.org has, from him: {}.", spoken(said)), "quoted back after he wrote it");
|
||||
assert_eq!(outcome.line(0, her, usize::MAX, &[(u64::MAX, "Something else entirely, said today.".to_owned())]), format!("- #minds:gamecult.org has, from him: {}.", spoken(said)), "his own words are shown");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue