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:
22025bd
)
at-bundle: Test uploaded via otter(1)
wip.w
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 20 May 2021 01:03:40 +0000
(
02:03
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 20 May 2021 01:03:40 +0000
(
02:03
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-bundles.rs
patch
|
blob
|
history
diff --git
a/apitest/at-bundles.rs
b/apitest/at-bundles.rs
index 7fbb71c5c78d1e3f8a38bf3a4c4d8d234c7106fb..cf46b9013123a09a381e7d8cdd1afdbacbceb533 100644
(file)
--- a/
apitest/at-bundles.rs
+++ b/
apitest/at-bundles.rs
@@
-20,12
+20,8
@@
impl Ctx {
"big-bundle","duped-example", "chess-purple-cannon", "a purple cannon",
&mut |ctx|
{
- ctx.su().mgmt_conn.borrow_mut().alter_game(
- vec![ MGI::ResetFromNamedSpec {
- spec: "modded-spec".to_owned(),
- }],
- None,
- )?;
+ let cmd = ctx.su().ds.ss("reset @table@ modded-spec")?;
+ ctx.reset_game(&cmd)?;
let alice = ctx.connect_player(&ctx.alice)?;
let pieces = alice.pieces::<PIA>()?;