@@ -671,7 +671,10 @@ fn plan_update_renders_history_cell() {
|
|||||||
let cells = drain_insert_history(&rx);
|
let cells = drain_insert_history(&rx);
|
||||||
assert!(!cells.is_empty(), "expected plan update cell to be sent");
|
assert!(!cells.is_empty(), "expected plan update cell to be sent");
|
||||||
let blob = lines_to_single_string(cells.last().unwrap());
|
let blob = lines_to_single_string(cells.last().unwrap());
|
||||||
assert!(blob.contains("Updated"), "missing plan header: {blob:?}");
|
assert!(
|
||||||
|
blob.contains("Update plan"),
|
||||||
|
"missing plan header: {blob:?}"
|
||||||
|
);
|
||||||
assert!(blob.contains("Explore codebase"));
|
assert!(blob.contains("Explore codebase"));
|
||||||
assert!(blob.contains("Implement feature"));
|
assert!(blob.contains("Implement feature"));
|
||||||
assert!(blob.contains("Write tests"));
|
assert!(blob.contains("Write tests"));
|
||||||
|
|||||||
Reference in New Issue
Block a user