verbs tests: read the route id from the table view
This commit is contained in:
parent
9e8600460e
commit
fc98772760
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue