()
| 747 | |
| 748 | #[test] |
| 749 | fn test_is_installed_true() { |
| 750 | let dir = tempfile::tempdir().unwrap(); |
| 751 | let hook = make_hook(); |
| 752 | hook.install(dir.path()).unwrap(); |
| 753 | assert!(hook.is_installed(dir.path())); |
| 754 | } |
| 755 | |
| 756 | #[test] |
| 757 | fn test_is_installed_false_no_file() { |