We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c188d commit 4442798Copy full SHA for 4442798
tests/account.rs
@@ -58,7 +58,7 @@ fn normalize_output(output: &str) -> String {
58
let normalized = block_regex.replace_all(&normalized, "At block #[BLOCK_NUM]");
59
60
// Replace block hashes (e.g., "(Gqo3Sym99tdtKm9Ha2aVFUvPPcqNVX8qfQ3dvpUk9B51)" -> "([BLOCK_HASH])")
61
- let hash_regex = Regex::new(r"\([A-Za-z0-9]{44}\)").unwrap();
+ let hash_regex = Regex::new(r"\([A-Za-z0-9]{43,44}\)").unwrap();
62
let normalized = hash_regex.replace_all(&normalized, "([BLOCK_HASH])");
63
64
normalized.to_string()
0 commit comments