chore(qa): format code and configure clippy lints
This commit is contained in:
+4
-6
@@ -1006,16 +1006,14 @@ mod tests {
|
||||
#[test]
|
||||
fn test_m03_format_linux_mount_instructions() {
|
||||
let token = "fedcba9876543210fedcba9876543210";
|
||||
let instructions = format_linux_mount_instructions(
|
||||
8443,
|
||||
token,
|
||||
Some(std::path::Path::new("/mnt/secure")),
|
||||
);
|
||||
let instructions =
|
||||
format_linux_mount_instructions(8443, token, Some(std::path::Path::new("/mnt/secure")));
|
||||
|
||||
let all_text = instructions.join("\n");
|
||||
assert!(all_text.contains("Benutzer: sanctum"));
|
||||
assert!(all_text.contains(token));
|
||||
assert!(all_text.contains("gio mount dav://sanctum@127.0.0.1:8443/"));
|
||||
assert!(all_text.contains("mount -t davfs -o username=sanctum http://127.0.0.1:8443/ /mnt/secure"));
|
||||
assert!(all_text
|
||||
.contains("mount -t davfs -o username=sanctum http://127.0.0.1:8443/ /mnt/secure"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user