Style: Automatische Formatierung & Clippy-Fixes
Security Scans / Trivy & OSV-Scanner (push) Successful in 28s
Testing Build, Publish & Preview Release / Build, Publish Packages (Testing) & Create Preview Release (push) Skipped
TruffleHog Secret Scan / TruffleHog (push) Successful in 18s
Code Quality (Auto-Format & Clippy-Fix) / Formatierung & Clippy automatisch beheben (push) Successful in 36s

This commit is contained in:
2026-09-19 19:54:19 +00:00
parent 05a4a908df
commit 17c1f6d2ba
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -103,7 +103,8 @@ mod tests {
#[test]
fn matches_a_mount_point_containing_a_space_escaped_by_the_kernel() {
let mountinfo = "43 36 0:26 / /mnt/my\\040drive rw,relatime shared:2 - cifs //server/share rw";
let mountinfo =
"43 36 0:26 / /mnt/my\\040drive rw,relatime shared:2 - cifs //server/share rw";
let source = parse_mountinfo_source(mountinfo, &PathBuf::from("/mnt/my drive"));
assert_eq!(source.as_deref(), Some("//server/share"));
}
+4 -1
View File
@@ -382,7 +382,10 @@ mod tests {
let contents = fs::read_to_string(&path).expect("read");
assert!(contents.contains("pass1-updated"));
assert!(!contents.contains("pass1\n") && !contents.ends_with("pass1"));
assert!(contents.contains("pass2"), "unrelated prefix-matching URL's entry must survive");
assert!(
contents.contains("pass2"),
"unrelated prefix-matching URL's entry must survive"
);
}
#[test]