From 85365d2aece2fe28d527d4364d8eed3054bb6411 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 3 Dec 2026 11:47:34 +0100 Subject: [PATCH] dungeon waves: the view-before-words check names the opening's own line Co-Authored-By: Claude Opus 5.5 --- crates/ghostlight-dungeon/src/waves.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ghostlight-dungeon/src/waves.rs b/crates/ghostlight-dungeon/src/waves.rs index 34cdc03..755fe0a 100644 --- a/crates/ghostlight-dungeon/src/waves.rs +++ b/crates/ghostlight-dungeon/src/waves.rs @@ -730,7 +730,7 @@ mod tests { assert!(first.contains("Warden") && first.contains("The gate holds.")); assert!(first.contains("Crown (over the node-turn bound)")); assert!( - first.find("Off-screen since").unwrap() < first.find("The player writes").unwrap(), + first.find("Off-screen since").unwrap() < first.find("The player writes:").unwrap(), "the view opens before the player's words" ); host.play.run(&who, Uuid::new_v4().to_string(), "I wait again.".into()).await.unwrap();