From 1370c133b56dcd8eef91715775328eca43a2d696 Mon Sep 17 00:00:00 2001 From: Abhinav Vedmala Date: Thu, 30 Apr 2026 15:23:35 -0700 Subject: [PATCH] Fix argument comment lint in TUI test --- codex-rs/tui/src/app/tests.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/codex-rs/tui/src/app/tests.rs b/codex-rs/tui/src/app/tests.rs index 9a81db6766..9f421d6558 100644 --- a/codex-rs/tui/src/app/tests.rs +++ b/codex-rs/tui/src/app/tests.rs @@ -265,10 +265,11 @@ async fn ignore_same_thread_resume_allows_reattaching_displayed_inactive_thread( #[test] fn hooks_needing_review_startup_warning_snapshot() { - let message = startup_prompts::hooks_needing_review_warning(2) + let message = startup_prompts::hooks_needing_review_warning(/*count*/ 2) .expect("review-needed hooks should produce a startup warning"); - let rendered = - lines_to_single_string(&history_cell::new_warning_event(message).display_lines(80)); + let rendered = lines_to_single_string( + &history_cell::new_warning_event(message).display_lines(/*width*/ 80), + ); assert_app_snapshot!("hooks_needing_review_startup_warning", rendered); }