From e1d39b5bdea414f23520d71799c749ea21a167cf Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 21 May 2022 13:24:39 +0100 Subject: [PATCH] at-currency: Use move_money another time Signed-off-by: Ian Jackson --- apitest/at-currency.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apitest/at-currency.rs b/apitest/at-currency.rs index fcb7da4f..7c6e2492 100644 --- a/apitest/at-currency.rs +++ b/apitest/at-currency.rs @@ -42,11 +42,8 @@ impl Ctx { alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, pile)), pile_pos)?; alice.synchu(&mut a_pieces)?; - alice.api_piece_op_single(PuSynch((&mut a_pieces, bank)).id(), ( - "multigrab", json!({ "n": 13, 'z': "t000000000" }) - ))?; + alice.move_money(&mut a_pieces, bank, 13, "t000000000", temp_pos)?; let moved = bank; - alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, moved)), temp_pos)?; alice.synchu(&mut a_pieces)?; let bank = a_pieces.find_by_desc_glob("* 337ƒ*"); a_pieces[moved].assert_desc_contains(" 13ƒ"); -- 2.30.2