From dd2ab865847ba95e6f4cffb3e1c974d3efe723f4 Mon Sep 17 00:00:00 2001 From: Justin Parker Date: Mon, 26 Oct 2026 20:27:33 -0700 Subject: [PATCH] Import process_alive only in the Windows-only test that uses it, so clippy passes on macOS and Linux AI Assisted --- plan2code-app/src-tauri/tests/pty_host.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plan2code-app/src-tauri/tests/pty_host.rs b/plan2code-app/src-tauri/tests/pty_host.rs index c953191..c745945 100644 --- a/plan2code-app/src-tauri/tests/pty_host.rs +++ b/plan2code-app/src-tauri/tests/pty_host.rs @@ -7,7 +7,7 @@ use std::time::{Duration, Instant}; use plan2code_app_lib::pty_host::{PtyHost, StartOptions}; mod common; -use common::{fake_agent, process_alive}; +use common::fake_agent; fn start_fake() -> (PtyHost, Receiver>) { let (tx, rx) = channel(); @@ -109,6 +109,7 @@ fn kill_ends_a_running_step() { #[cfg(windows)] #[test] fn kill_ends_a_cmd_wrapped_grandchild_too() { + use common::process_alive; use plan2code_app_lib::agents::windows_command; use std::fs;