Skip to content
Snippets Groups Projects
Commit 1fff64de authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

wip(cucumber) fix broken rebase

parent 0a51f1d4
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !56. Comments created here will be created in the context of that merge request.
...@@ -201,8 +201,13 @@ async fn certifies(world: &mut DuniterWorld, from: String, to: String) -> Result ...@@ -201,8 +201,13 @@ async fn certifies(world: &mut DuniterWorld, from: String, to: String) -> Result
// ===== then ==== // ===== then ====
#[then(regex = r"([a-zA-Z]+) should have (\d+) ĞD")] #[then(regex = r"([a-zA-Z]+) should have (\d+) (ĞD|cĞD)")]
async fn should_have(world: &mut DuniterWorld, who: String, amount: u64) -> Result<()> { async fn should_have(
world: &mut DuniterWorld,
who: String,
amount: u64,
unit: String,
) -> Result<()> {
// Parse inputs // Parse inputs
let who = AccountKeyring::from_str(&who) let who = AccountKeyring::from_str(&who)
.expect("unknown to") .expect("unknown to")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment