()
| 1266 | |
| 1267 | #[test] |
| 1268 | fn test_has_any_atomic_hook_true() { |
| 1269 | let matchers = vec![GeminiHookMatcher { |
| 1270 | matcher: "".to_string(), |
| 1271 | hooks: vec![GeminiHookEntry { |
| 1272 | hook_type: "command".to_string(), |
| 1273 | command: "atomic agent hooks gemini-cli session-start".to_string(), |
| 1274 | name: None, |
| 1275 | timeout: None, |
| 1276 | description: None, |
| 1277 | }], |
| 1278 | sequential: None, |
| 1279 | }]; |
| 1280 | |
| 1281 | assert!(has_any_atomic_hook(&matchers)); |
| 1282 | } |
| 1283 | |
| 1284 | #[test] |
| 1285 | fn test_has_any_atomic_hook_false() { |
nothing calls this directly
no outgoing calls
no test coverage detected