mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-02 02:33:55 -06:00
Test: the repro helper tolerates refused steps again, with the reason in a comment
This commit is contained in:
@@ -34,7 +34,8 @@ fn session(sample: &str, steps: &[(&str, Json)]) -> Session {
|
||||
let mut s = Session::new();
|
||||
s.execute("file.new", json!({"sample": sample})).unwrap();
|
||||
for (id, p) in steps {
|
||||
s.execute(id, p.clone()).unwrap();
|
||||
// A refused step leaves the book as it was; the asserts check what survives.
|
||||
let _ = s.execute(id, p.clone());
|
||||
}
|
||||
s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user