diff --git a/crates/ghostlight-dungeon/src/verbs.rs b/crates/ghostlight-dungeon/src/verbs.rs index 87903cf..3a7583e 100644 --- a/crates/ghostlight-dungeon/src/verbs.rs +++ b/crates/ghostlight-dungeon/src/verbs.rs @@ -321,7 +321,7 @@ mod tests { (who(&now, "Korr"), who(&now, "Grix Sparkfinger"), who(&now, "Hilda Gatewright"), who(&now, "Brannoch Deepvein")); let quoted = format!("\"{DEED}\" ["); let deed = between(&view, "ed, "]").to_owned(); - let road = now.routes.iter().find(|route| route.label == "The Road").unwrap().id; + let road = between(&view, "The Road [", "]").to_owned(); assert!(!between(&view, &format!("\"{DEED}\" [{deed}]: "), "\n").contains("Hilda"), "the guard has not heard"); // The witness walks to the gate and tells the guard.