From eb31c9619fb9bbf7e39dd741ce54651af97591ff Mon Sep 17 00:00:00 2001 From: Rakan El Khalil Date: Thu, 2 Apr 2026 14:12:15 -0700 Subject: [PATCH] test(tui): annotate popup stack test args --- codex-rs/tui/src/app/fork_session_overlay_stack.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/codex-rs/tui/src/app/fork_session_overlay_stack.rs b/codex-rs/tui/src/app/fork_session_overlay_stack.rs index 23121144e3..a5c3802128 100644 --- a/codex-rs/tui/src/app/fork_session_overlay_stack.rs +++ b/codex-rs/tui/src/app/fork_session_overlay_stack.rs @@ -140,9 +140,9 @@ mod tests { #[test] fn bring_popup_to_front_makes_clicked_popup_active() { - let mut stack = ForkSessionOverlayStack::new(popup(10, 10)); - stack.push_popup(popup(20, 20)); - stack.push_popup(popup(30, 30)); + let mut stack = ForkSessionOverlayStack::new(popup(/*x*/ 10, /*y*/ 10)); + stack.push_popup(popup(/*x*/ 20, /*y*/ 20)); + stack.push_popup(popup(/*x*/ 30, /*y*/ 30)); let active = stack .bring_popup_to_front(/*index*/ 0) @@ -155,8 +155,8 @@ mod tests { #[test] fn close_active_popup_keeps_stack_alive_until_last_popup() { - let mut stack = ForkSessionOverlayStack::new(popup(10, 10)); - stack.push_popup(popup(20, 20)); + let mut stack = ForkSessionOverlayStack::new(popup(/*x*/ 10, /*y*/ 10)); + stack.push_popup(popup(/*x*/ 20, /*y*/ 20)); let closed = stack.close_active_popup().expect("close topmost popup");