diff --git a/crates/ghostlight-dungeon/src/knobs.rs b/crates/ghostlight-dungeon/src/knobs.rs index b288075..d29f187 100644 --- a/crates/ghostlight-dungeon/src/knobs.rs +++ b/crates/ghostlight-dungeon/src/knobs.rs @@ -516,7 +516,7 @@ mod tests { assert_eq!(next.allowances, LaneTokens { wave: 0, elaboration: 5_000_000 }); assert_eq!(next.focus, vec![Lease { target: Target::Place(gate), until: 130 }]); assert_eq!(next.knobs.cells, current.knobs.cells, "the cover is not the DM\'s to tune"); - assert!(said.contains("depth 8") && said.contains("next window"), "{said}"); + assert!(said.contains("depth 8") && said.contains("open too"), "{said}"); let again = json!({"focus_add": [{"target": id_text(gate), "lease_minutes": 10}]}); let (renewed, _) = tune(&next, &again.to_string(), &world, 110).unwrap(); diff --git a/crates/ghostlight-dungeon/src/waves.rs b/crates/ghostlight-dungeon/src/waves.rs index e0d2eae..668546a 100644 --- a/crates/ghostlight-dungeon/src/waves.rs +++ b/crates/ghostlight-dungeon/src/waves.rs @@ -1108,7 +1108,7 @@ pub(crate) mod tests { advance(&host, 400).await; run_waves(&host, 1).await; let refused = wave_of(&host, 1).await.unwrap().report.unwrap(); - assert!(refused.out_of_allowance && refused.nodes.is_empty(), "{refused:?}"); + assert!(refused.out_of_allowance && refused.nodes.iter().all(|node| node.acts.is_empty()), "{refused:?}"); let revision = wave_of(&host, 1).await.unwrap().revision; allow(&host, |allowances| allowances.wave = 200_000).await; run_waves(&host, 2).await;