ok/jj
1
0
Fork 0
forked from mirrors/jj

cargo +nightly clippy --fix --workspace

This commit is contained in:
Ilya Grigoriev 2023-01-01 23:05:41 -08:00
parent 6586a756c1
commit 265fa7f7c7

View file

@ -119,7 +119,7 @@ fn test_config_list_all() {
}
fn find_stdout_lines(keyname_pattern: &str, stdout: &str) -> String {
let key_line_re = Regex::new(&format!(r"(?m)^{}=.*$", keyname_pattern)).unwrap();
let key_line_re = Regex::new(&format!(r"(?m)^{keyname_pattern}=.*$")).unwrap();
key_line_re
.find_iter(stdout)
.map(|m| m.as_str())