feat(rclone.exe): Added tests to main

This commit is contained in:
Black_Raven committed 2026-03-02 13:49:45 +03:00
1 parent c537893773
commit 1abb0f10f8
1 file changed
+5 -2
+5 -2
View File
@@ -1,3 +1,6 @@
#[cfg(test)]
mod tests;
mod rcloneInstall; mod rcloneInstall;
use tokio::runtime::Runtime; use tokio::runtime::Runtime;
@@ -11,7 +14,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok::<_, Box<dyn std::error::Error>>(rclone) Ok::<_, Box<dyn std::error::Error>>(rclone)
})?; })?;
let v = rclone.version(); let v = rclone.version().unwrap().to_string();
println!("Rclone: {:?}", v); println!("Rclone: {}", v);
Ok::<_, Box<dyn std::error::Error>>(()) Ok::<_, Box<dyn std::error::Error>>(())
} }