()
| 818 | |
| 819 | #[test] |
| 820 | fn test_detect_presence_file_not_dir() { |
| 821 | let tmp = tempfile::tempdir().unwrap(); |
| 822 | std::fs::write(tmp.path().join(".github"), "not a dir").unwrap(); |
| 823 | let hook = make_hook(); |
| 824 | assert!(!hook.detect_presence(tmp.path())); |
| 825 | } |
| 826 | |
| 827 | // ── Installation is a no-op (owned by the integrations engine) ── |
| 828 |