Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
});
test!(c, "impossible", {
+ // We want to test that the client can cope with an unpredictable
+ // _impossible_ error, reported via an update. A way to generate
+ // such a thing is to try to make overlapping occultations, which
+ // the client does not try to prevent.
+
c.vatikan_with_deck()?;
{
.perform()
.did("move to overlap")?;
alice.synch()?;
+
+ alice.action_chain()
+ .move_pos(newpos)?
+ .click().release()
+ .send_keys("C")
+ .perform()
+ .did("try to claim when overlapping")?;
+ alice.synch()?;
}
});