test(tui): annotate subagent panel literals

This commit is contained in:
Friel
2026-03-28 11:46:19 -07:00
parent 5e41296824
commit 4ef8493fd2
2 changed files with 6 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ async fn thread_snapshot_replay_does_not_duplicate_agent_message_history() {
#[tokio::test]
async fn thread_snapshot_replay_deduplicates_agent_inbox_compatibility_items() {
let (mut chat, mut rx, _ops) = make_chatwidget_manual(None).await;
let (mut chat, mut rx, _ops) = make_chatwidget_manual(/*model_override*/ None).await;
let sender =
ThreadId::from_string("019cbff7-558b-77d3-8653-8238ab5361ec").expect("valid thread id");

View File

@@ -3619,8 +3619,8 @@ mod tests {
latest_update_at: Instant::now(),
}],
}));
let cell = SubagentStatusCell::new(state, true);
let lines = render_lines(&cell.display_lines(120));
let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true);
let lines = render_lines(&cell.display_lines(/*width*/ 120));
assert!(lines[0].contains("no subagents running"));
assert!(lines[1].contains("[watchdog] watchdog-agent idle"));
@@ -3641,7 +3641,7 @@ mod tests {
latest_update_at: Instant::now(),
}],
}));
let cell = SubagentStatusCell::new(state, true);
let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true);
assert_eq!(cell.transcript_animation_tick(), None);
}
@@ -3661,7 +3661,7 @@ mod tests {
latest_update_at: Instant::now(),
}],
}));
let cell = SubagentStatusCell::new(state, true);
let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true);
assert!(
cell.transcript_animation_tick().is_some(),
@@ -3687,7 +3687,7 @@ mod tests {
latest_update_at: stale_update,
}],
}));
let cell = SubagentStatusCell::new(state, true);
let cell = SubagentStatusCell::new(state, /*animations_enabled*/ true);
assert_eq!(cell.transcript_animation_tick(), None);
}