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
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:
+2
-1
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user