From 2713f2b127b39021cd0e7aef5bfc13817ffaf2d8 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Thu, 14 Aug 2025 12:26:28 -0300 Subject: [PATCH] fix: configure tests to run by removing deprecated test config and adding missing import Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) --- Cargo.toml | 3 --- src/tests/modes/info_tests.rs | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d6b5559..faccb4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,9 +6,6 @@ description = "Keep and manage temporary files with automatic compression and me readme = "README.md" categories = ["command-line-utilities"] -[[test]] -name = "tests" -path = "src/tests.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/tests/modes/info_tests.rs b/src/tests/modes/info_tests.rs index 16cfc8e..35da5b2 100644 --- a/src/tests/modes/info_tests.rs +++ b/src/tests/modes/info_tests.rs @@ -3,6 +3,7 @@ mod tests { use tempfile::TempDir; use std::fs::File; use std::io::Write; + use std::path::PathBuf; #[test] fn test_info_mode_file_operations() {