tui: scope composer history under client data

This commit is contained in:
2026-08-16 18:24:34 +09:00
parent 0b8924eda7
commit 4f042cae84
2 changed files with 43 additions and 3 deletions
+8 -1
View File
@@ -2645,7 +2645,14 @@ mod composer_history_persistence_tests {
let mut app = App::new_with_input_history_store("test".into(), store);
submit_text(&mut app, "synthetic entry outside workspace yoi");
assert!(data_dir.path().join("composer-history").exists());
assert!(
data_dir
.path()
.join("client")
.join("composer-history")
.exists()
);
assert!(!data_dir.path().join("composer-history").exists());
assert!(!workspace.path().join(".yoi").exists());
}