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

Function test_repo_root_hints_missing_field

atomic-agent/src/hooks/agy.rs:1484–1489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1482
1483 #[test]
1484 fn test_repo_root_hints_missing_field() {
1485 let hook = make_hook();
1486 let input = br#"{"conversationId": "s1"}"#;
1487 let event = hook.parse_event(HookType::TurnStart, input).unwrap();
1488 assert!(hook.repo_root_hints(&event).is_none());
1489 }
1490
1491 #[test]
1492 fn test_repo_root_hints_empty_array() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected