diff --git a/crates/bin/pcli/tests/network_integration.rs b/crates/bin/pcli/tests/network_integration.rs index 290f26e8f4..6c0c1c30bf 100644 --- a/crates/bin/pcli/tests/network_integration.rs +++ b/crates/bin/pcli/tests/network_integration.rs @@ -298,7 +298,7 @@ fn delegate_and_undelegate() { // need to pull the amount of delegation tokens we obtained so that we can later // try to execute an undelegation (`tx undelegate `). // To do this, we use a regex to extract the amount of delegation tokens we obtained: - let delegation_token_pattern = Regex::new(r"(\d+\.?\d?delegation_[a-zA-Z0-9]*)").unwrap(); + let delegation_token_pattern = Regex::new(r"(\d+\.?\d?m?delegation_[a-zA-Z0-9]*)").unwrap(); let (delegation_token_str, [_match]) = delegation_token_pattern .captures(&balance_output_string) .expect("can find delegation token in balance output")