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:
ab2f2e4
)
at-currency: Test merging properly
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 20:15:11 +0000
(21:15 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 20:15:11 +0000
(21:15 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-currency.rs
patch
|
blob
|
history
diff --git
a/apitest/at-currency.rs
b/apitest/at-currency.rs
index 67d960b977e6cd1c243f67d46d0ce16befd8cb1e..62b71f640610e0958a1b8df4bd87884d42098429 100644
(file)
--- a/
apitest/at-currency.rs
+++ b/
apitest/at-currency.rs
@@
-38,6
+38,12
@@
impl Ctx {
let bank = a_pieces.find_by_desc_glob("* 337ƒ*");
a_pieces[moved].assert_desc_contains(" 13ƒ");
+ alice.api_piece(GH::With, PuSynch((&mut a_pieces, moved)), pile_pos)?;
+ alice.synchu(&mut a_pieces)?;
+ assert!(a_pieces[moved].info.is_null());
+ a_pieces[pile].assert_desc_contains(" 63ƒ");
+
+ // This saves us some complaints
let _ = moved;
let _ = bank;
let _ = pile;