()
| 1283 | |
| 1284 | #[test] |
| 1285 | fn test_has_any_atomic_hook_false() { |
| 1286 | let matchers = vec![GeminiHookMatcher { |
| 1287 | matcher: "".to_string(), |
| 1288 | hooks: vec![GeminiHookEntry { |
| 1289 | hook_type: "command".to_string(), |
| 1290 | command: "other-hook".to_string(), |
| 1291 | name: None, |
| 1292 | timeout: None, |
| 1293 | description: None, |
| 1294 | }], |
| 1295 | sequential: None, |
| 1296 | }]; |
| 1297 | |
| 1298 | assert!(!has_any_atomic_hook(&matchers)); |
| 1299 | } |
| 1300 | |
| 1301 | #[test] |
| 1302 | fn test_has_any_atomic_hook_empty() { |
nothing calls this directly
no outgoing calls
no test coverage detected