MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_has_any_atomic_hook_true

Function test_has_any_atomic_hook_true

atomic-agent/src/hooks/gemini_cli.rs:1268–1282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected