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:
adad3a5
)
hidden test: Use api_with_piece_op
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 20:53:58 +0000
(20:53 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 27 Feb 2021 20:53:58 +0000
(20:53 +0000)
Now that it works...
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/at-otter.rs
patch
|
blob
|
history
diff --git
a/apitest/at-otter.rs
b/apitest/at-otter.rs
index 4a2e78cc5c2073120c1c0613651d3352861d7bc9..4b52b96d71f22285a3b8b77aee523a288b783339 100644
(file)
--- a/
apitest/at-otter.rs
+++ b/
apitest/at-otter.rs
@@
-335,7
+335,7
@@
impl Ctx {
.into_inner().unwrap();
dbg!(&hand);
- session.api_piece_op(&self.su, &hand.id, "k", json!({
+ session.api_
with_
piece_op(&self.su, &hand.id, "k", json!({
"opname": "claim",
"wrc": "Unpredictable",
}))?;