From 1fff64de87baf9eddd11821679f437cf5a980c06 Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Mon, 6 Jun 2022 19:01:57 +0200
Subject: [PATCH] wip(cucumber) fix broken rebase

---
 end2end-tests/tests/cucumber_tests.rs | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/end2end-tests/tests/cucumber_tests.rs b/end2end-tests/tests/cucumber_tests.rs
index 9e9d4ba69..fdba9367f 100644
--- a/end2end-tests/tests/cucumber_tests.rs
+++ b/end2end-tests/tests/cucumber_tests.rs
@@ -201,8 +201,13 @@ async fn certifies(world: &mut DuniterWorld, from: String, to: String) -> Result
 
 // ===== then ====
 
-#[then(regex = r"([a-zA-Z]+) should have (\d+) ÄžD")]
-async fn should_have(world: &mut DuniterWorld, who: String, amount: u64) -> Result<()> {
+#[then(regex = r"([a-zA-Z]+) should have (\d+) (ÄžD|cÄžD)")]
+async fn should_have(
+    world: &mut DuniterWorld,
+    who: String,
+    amount: u64,
+    unit: String,
+) -> Result<()> {
     // Parse inputs
     let who = AccountKeyring::from_str(&who)
         .expect("unknown to")
-- 
GitLab