()
| 496 | |
| 497 | #[test] |
| 498 | fn test_from_root() { |
| 499 | let temp_dir = create_temp_dir(); |
| 500 | let root = temp_dir.path(); |
| 501 | |
| 502 | let store = |
| 503 | ChangeStore::from_root(root, DEFAULT_CACHE_CAPACITY).expect("Failed to create store"); |
| 504 | |
| 505 | // Verify the changes directory was created in the right place |
| 506 | let expected_dir = root.join(atomic_core::DOT_DIR).join("changes"); |
| 507 | assert_eq!(store.changes_dir(), expected_dir); |
| 508 | assert!(expected_dir.exists()); |
| 509 | } |
| 510 | |
| 511 | // Multiple Changes with Same Prefix Tests |
| 512 |
nothing calls this directly
no test coverage detected