feat(rclone.exe): Added tests to main
This commit is contained in:
1 parent
c537893773
commit
1abb0f10f8
1 file changed
+5
-2
+5
-2
@@ -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>>(())
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user