()
| 562 | |
| 563 | #[test] |
| 564 | fn test_from_root() { |
| 565 | let temp_dir = create_temp_dir(); |
| 566 | let root = temp_dir.path(); |
| 567 | |
| 568 | let store = |
| 569 | ChangeStore::from_root(root, DEFAULT_CACHE_CAPACITY).expect("Failed to create store"); |
| 570 | |
| 571 | // Verify the changes directory was created in the right place |
| 572 | let expected_dir = root.join(atomic_core::DOT_DIR).join("changes"); |
| 573 | assert_eq!(store.changes_dir(), expected_dir); |
| 574 | assert!(expected_dir.exists()); |
| 575 | } |
| 576 | |
| 577 | // Multiple Changes with Same Prefix Tests |
| 578 |
nothing calls this directly
no test coverage detected