()
| 1646 | |
| 1647 | #[test] |
| 1648 | fn test_init_vault_idempotent() { |
| 1649 | let dir = tempdir().unwrap(); |
| 1650 | let repo = Repository::init(dir.path()).unwrap(); |
| 1651 | |
| 1652 | repo.init_vault().unwrap(); |
| 1653 | repo.init_vault().unwrap(); // Should not fail |
| 1654 | |
| 1655 | assert!(repo.has_vault().unwrap()); |
| 1656 | } |
| 1657 | |
| 1658 | #[test] |
| 1659 | fn test_vault_store_returns_hash() { |
nothing calls this directly
no test coverage detected