Fix same-thread resume noop test

This commit is contained in:
Eric Traut
2026-03-28 23:21:15 -06:00
parent 8de7d89cc7
commit 9bef8e6cb1
4 changed files with 8 additions and 17 deletions
+1 -6
View File
@@ -6053,12 +6053,7 @@ mod tests {
});
assert!(ignored);
let rendered = app
.transcript_cells
.last()
.map(|cell| lines_to_single_string(&cell.display_lines(/*width*/ 80)))
.expect("expected info message after same-thread resume");
assert!(rendered.contains("Already viewing /tmp/project."));
assert_eq!(app.current_displayed_thread_id(), Some(thread_id));
}
#[tokio::test]
@@ -1,6 +1,6 @@
---
source: tui/src/chatwidget/tests.rs
assertion_line: 9607
assertion_line: 9745
expression: popup
---
Update Model Permissions
@@ -0,0 +1,6 @@
---
source: tui/src/chatwidget/tests.rs
assertion_line: 10414
expression: "lines_to_single_string(&cells[0])"
---
• Permissions updated to Guardian Approvals
@@ -1,10 +0,0 @@
---
source: tui/src/chatwidget/tests.rs
assertion_line: 12789
expression: combined
---
• Running UserPromptSubmit hook: checking go-workflow input policy
UserPromptSubmit hook (stopped)
warning: go-workflow must start from PlanMode
stop: prompt blocked