Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit d7ec56c

Browse files
author
ferzu13
committed
removed unneseary lines
1 parent 7c08a26 commit d7ec56c

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

libs/k21/tests/it-tests.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
use k21::capture::{self, ScreenCaptureConfig};
22
use std::time::Duration;
3-
use k21::upload::process_upload;
4-
use k21::process::ProcessorConfig;
5-
use std::path::Path;
6-
use std::env;
73

84
#[cfg(test)]
95
mod capture_tests {
@@ -49,7 +45,6 @@ mod capture_tests {
4945
mod upload_tests {
5046
use k21::upload::process_upload;
5147
use k21::process::ProcessorConfig;
52-
// use k21::upload::UploadConfig;
5348

5449
#[tokio::test]
5550
async fn test_upload_png() {
@@ -65,12 +60,12 @@ mod upload_tests {
6560
println!("File exists: {}", test_file_path.exists());
6661

6762
let result = process_upload(test_file_path.to_string_lossy().to_string(), &config).await;
68-
63+
6964
match &result {
7065
Ok(results) => println!("PNG processing results: {} items", results.len()),
7166
Err(e) => println!("PNG upload failed with error: {:?}", e),
7267
}
73-
68+
7469
assert!(result.is_ok(), "PNG upload should succeed");
7570
if let Ok(results) = result {
7671
assert!(!results.is_empty(), "Should have processing results");

0 commit comments

Comments
 (0)