From: Ian Jackson Date: Fri, 26 Mar 2021 00:47:58 +0000 (+0000) Subject: apitest: try resetting the game after hidden_hand X-Git-Tag: otter-0.5.0~393 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0ef67c0aa1f16027d596b8e9621fd323b3ad881f;p=otter.git apitest: try resetting the game after hidden_hand Signed-off-by: Ian Jackson --- diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index b30d2317..a9ea0de0 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -624,6 +624,9 @@ impl Ctx { bob.synchu(&mut b_pieces)?; assert_eq!(b_pieces[b_pawns[1]].pos, a_pieces[a_pawns[0]].pos); + + let command = self.su().ds.ss("reset @table@ demo")?; + self.otter(&command)?; } }