chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf54917
)
wdt: Check that the penltima game loads
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 Jan 2021 20:43:53 +0000
(20:43 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 10 Jan 2021 23:18:59 +0000
(23:18 +0000)
Currently, adding pieces produces client errors, so we must ignore
them.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver/wdt-altergame.rs
patch
|
blob
|
history
diff --git
a/wdriver/wdt-altergame.rs
b/wdriver/wdt-altergame.rs
index a225bbffd8e513bb36d10e52153ead3420e5f483..f12c2e9155884ccf3694c4cfd2783cbf182e7554 100644
(file)
--- a/
wdriver/wdt-altergame.rs
+++ b/
wdriver/wdt-altergame.rs
@@
-78,5
+78,12
@@
fn main(){
c.test_link(LinkKind::Info, "Info", "https://www.example.org/newinfo")?;
c.test_remove_link(LinkKind::Info, "Info")?;
+ {
+ let game_spec = &c.su.ds.subst("@specs@/penultima.game.toml")?;
+ let mut alice = c.su.w(&c.alice)?;
+ alice.otter(&["reset"],&[&game_spec])?;
+ alice.synch_ignore_js_errors()?;
+ }
+
info!("ok");
}