diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/http_funcs.rs | 1 | ||||
| -rw-r--r-- | tests/pkgtoolkit_funcs.rs | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/http_funcs.rs b/tests/http_funcs.rs index a495b3a..55d8c3c 100644 --- a/tests/http_funcs.rs +++ b/tests/http_funcs.rs @@ -9,7 +9,6 @@ use std::collections::HashMap; use tempfile::TempDir; use tokio; - use log::{debug, info}; #[cfg(test)] diff --git a/tests/pkgtoolkit_funcs.rs b/tests/pkgtoolkit_funcs.rs index 3406844..9c5113e 100644 --- a/tests/pkgtoolkit_funcs.rs +++ b/tests/pkgtoolkit_funcs.rs @@ -1,5 +1,5 @@ -use mesk::pkgtoolkit::pkgtools::{Archs, Package}; use mesk::cfg::config::Config; +use mesk::pkgtoolkit::pkgtools::{Archs, Package}; mod shared; use shared::create_test_config; @@ -42,8 +42,8 @@ mod package_tests { Package::extract_archive(archive_path.to_str().unwrap())?; let config = Config::parse().unwrap(); - let extracted_file_path = std::path::Path::new(&config.paths.cache_dir) - .join("extracted_test_file.txt"); + let extracted_file_path = + std::path::Path::new(&config.paths.cache_dir).join("extracted_test_file.txt"); assert!(extracted_file_path.exists()); let content = fs::read_to_string(extracted_file_path)?; assert_eq!(content, test_file_content); |
