From fe9743cdd5846bd2f6b5c087c6562ae557cbd54e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 19:54:09 +0100 Subject: [PATCH] at-currency: Check that descriptions (ie, qts) change Signed-off-by: Ian Jackson --- apitest/at-currency.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apitest/at-currency.rs b/apitest/at-currency.rs index 003d1ecd..1841a44a 100644 --- a/apitest/at-currency.rs +++ b/apitest/at-currency.rs @@ -21,6 +21,10 @@ impl Ctx { ))?; alice.synchu(&mut a_pieces)?; + let bn_desc = a_pieces[bn].info["desc"].as_str().unwrap(); + assert!( bn_desc.contains("50ƒ"), "{bn_desc}" ); + let _change = a_pieces.find_by_desc_glob("*350ƒ*"); + alice.api_piece(GH::Ungrab, PuSynch((&mut a_pieces, bn)), other_pile)?; alice.synchu(&mut a_pieces)?; -- 2.30.2