fix: rust lint error (#7424)

This commit is contained in:
StarsSail
2026-07-06 00:19:58 +00:00
committed by GitHub
parent b3f07acb5b
commit 0407384557
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -63,6 +63,7 @@ fn contains_wildcard(value: &str) -> bool {
}
#[cfg(test)]
#[allow(clippy::expect_used)]
mod tests {
use super::to_mihomo_config_string;
@@ -101,13 +102,13 @@ dns:
#[test]
fn nested_multiline_strings_roundtrip() {
roundtrip(
r#"
r"
items:
- name: demo
desc: |
line1
line2
"#,
",
);
}
}