test(cli): every test asks the platform where the data root is
check / check (push) Canceled after 0s
check / portable (macos-latest) (push) Canceled after 0s
check / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s

The four other test files that spelled out `.local/share/wanderbooks`
(setup, books_home, format_upgrade, backups) use `default_root` and
`platform_data_dir`, so they hold on macOS as on Linux.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp
This commit is contained in:
swaitsandClaude Fable 5.1 committed 2026-10-29 17:22:37 -06:00
1 parent 2a6bac02d5
commit 62d42b9458
4 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ impl Home {
}
fn root(&self) -> PathBuf {
self.dir.path().join(".local/share/wanderbooks")
ledger_store::root::default_root(self.dir.path())
}
fn book_dir(&self, book: &str) -> PathBuf {