persona test: no stray 'no organ' wording
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a8983c3c19
commit
6be19aa069
1 changed files with 2 additions and 2 deletions
|
|
@ -74,11 +74,11 @@ fn a_held_brake_is_dead_and_a_released_one_builds_its_organs_only_then() {
|
|||
let built = std::cell::Cell::new(0);
|
||||
let build = || -> Result<Start<crate::chat_rudp::RudpChat>> {
|
||||
built.set(built.get() + 1);
|
||||
bail!("no organs in this test")
|
||||
bail!("nothing is built in this test")
|
||||
};
|
||||
ControlWriter::open(&control).unwrap().set_brake(true, at(0), "op").unwrap();
|
||||
SwarmWriter::open(&swarm).unwrap().set_brake(true, at(0), "op").unwrap();
|
||||
assert_eq!(carry(&FileSource::new(&control), &FileSource::new(&swarm), &instance, build), Outcome::Failed("no organs in this test".into()));
|
||||
assert_eq!(carry(&FileSource::new(&control), &FileSource::new(&swarm), &instance, build), Outcome::Failed("nothing is built in this test".into()));
|
||||
assert_eq!(built.get(), 1);
|
||||
SwarmWriter::open(&swarm).unwrap().set_brake(false, at(1), "op").unwrap();
|
||||
assert!(matches!(carry(&FileSource::new(&control), &FileSource::new(&swarm), &instance, build), Outcome::Dead(_)), "the swarm brake held stops her");
|
||||
|
|
|
|||
Loading…
Reference in a new issue