()
| 1490 | |
| 1491 | #[test] |
| 1492 | fn test_repo_root_hints_empty_array() { |
| 1493 | let hook = make_hook(); |
| 1494 | let input = br#"{"conversationId": "s1", "workspacePaths": []}"#; |
| 1495 | let event = hook.parse_event(HookType::TurnStart, input).unwrap(); |
| 1496 | assert!(hook.repo_root_hints(&event).is_none()); |
| 1497 | } |
| 1498 | |
| 1499 | // Detection tests |
| 1500 |
nothing calls this directly
no test coverage detected