From 38e95e9ea6830585ad57d116000a5cae196ed59c Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sat, 21 Nov 2026 14:46:04 -0700 Subject: [PATCH] test(gui): the window says assistant, so the tests that read its words say it too Co-Authored-By: Claude Fable 5.2 --- crates/ledger-gui/tests/kept.rs | 2 +- crates/ledger-gui/tests/tabs.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ledger-gui/tests/kept.rs b/crates/ledger-gui/tests/kept.rs index a2d57b66..e719ccf5 100644 --- a/crates/ledger-gui/tests/kept.rs +++ b/crates/ledger-gui/tests/kept.rs @@ -241,7 +241,7 @@ fn books_that_keep_their_settings_say_where_facts_come_from() { let h = company(&dir); assert!(shows( &h, - "No company facts set yet: the agent records them as you give them." + "No company facts set yet: your assistant records them as you give them." )); drop(h); let mut s = Store::open(&dir.0.join("books-data")).unwrap(); diff --git a/crates/ledger-gui/tests/tabs.rs b/crates/ledger-gui/tests/tabs.rs index 515176a8..3c9b6cb5 100644 --- a/crates/ledger-gui/tests/tabs.rs +++ b/crates/ledger-gui/tests/tabs.rs @@ -2699,10 +2699,10 @@ fn the_docks_height_and_layout_are_the_apps_one_for_every_tab() { h.state_mut().view_mut(i).unwrap().dock_mut().open = true; } h.run_steps(4); - let top = |h: &Harness<'_, App>| h.get_by_label_contains(" Agent").rect().top(); + let top = |h: &Harness<'_, App>| h.get_by_label_contains(" Assistant").rect().top(); let before = top(&h); // Resized in alpha: dragged up by a hundred points. - let x = h.get_by_label_contains(" Agent").rect().left() + 300.0; + let x = h.get_by_label_contains(" Assistant").rect().left() + 300.0; let panel_top = egui::containers::panel::PanelState::load(&h.ctx, egui::Id::new("dock-open")) .expect("the dock's panel") .outer_rect